Skip to content

Commit d2fb6b1

Browse files
committed
BASE_IMAGE_NAME
1 parent 6a00000 commit d2fb6b1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/dev.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This is the temporary workflow for building and pushing imgproxy-base images with v4-dev tag.
2-
name: Build Dev image
2+
name: Build dev image
33

44
on:
55
workflow_dispatch:
@@ -17,6 +17,9 @@ concurrency:
1717
group: build-v4-dev-${{ github.ref }}
1818
cancel-in-progress: true
1919

20+
env:
21+
BASE_IMAGE_NAME: ghcr.io/imgproxy/imgproxy-base
22+
2023
jobs:
2124
build:
2225
if: github.repository_owner == 'imgproxy'
@@ -51,7 +54,7 @@ jobs:
5154
- name: Build and push
5255
uses: docker/build-push-action@v6
5356
with:
54-
tags: ghcr.io/imgproxy/imgproxy-base:${{ github.event.inputs.tag }}-${{ matrix.build.arch }}
57+
tags: ${{ env.BASE_IMAGE_NAME }}:${{ github.event.inputs.tag }}-${{ matrix.build.arch }}
5558
platforms: ${{ matrix.build.dockerPlatform }}
5659
provenance: false
5760
push: true
@@ -72,4 +75,4 @@ jobs:
7275

7376
- name: Push manifests
7477
run: |
75-
docker buildx imagetools create -t ghcr.io/imgproxy/imgproxy-base:${{ github.event.inputs.tag }} ghcr.io/imgproxy/imgproxy-base:${{ github.event.inputs.tag }}-amd64 ghcr.io/imgproxy/imgproxy-base:${{ github.event.inputs.tag }}-arm64
78+
docker buildx imagetools create -t ${{ env.BASE_IMAGE_NAME }}:${{ github.event.inputs.tag }} ${{ env.BASE_IMAGE_NAME }}:${{ github.event.inputs.tag }}-amd64 ${{ env.BASE_IMAGE_NAME }}:${{ github.event.inputs.tag }}-arm64

0 commit comments

Comments
 (0)