@@ -159,47 +159,47 @@ jobs:
159159 path : ${{ runner.temp }}/digests/*
160160 if-no-files-found : error
161161 retention-days : 1
162- merge :
163- runs-on : ubuntu-latest
164- needs :
165- - build-selfhost-web-images
166- steps :
167- - name : Download digests
168- uses : actions/download-artifact@v4
169- with :
170- path : ${{ runner.temp }}/digests
171- pattern : digests-*
172- merge-multiple : true
173-
174- - name : Login to Docker Hub
175- uses : docker/login-action@v3
176- with :
177- username : ${{ vars.DOCKERHUB_USERNAME }}
178- password : ${{ secrets.DOCKERHUB_TOKEN }}
179-
180- - name : Set up Docker Buildx
181- uses : docker/setup-buildx-action@v3
182-
183- - name : Docker meta
184- id : meta
185- uses : docker/metadata-action@v5
186- with :
187- images : ghcr.io/omnivore-app/sh-web:latest
188- tags : |
189- type=ref,event=branch
190- type=ref,event=pr
191- type=semver,pattern={{version}}
192- type=semver,pattern={{major}}.{{minor}}
193-
194- - name : Create manifest list and push
195- working-directory : ${{ runner.temp }}/digests
196- run : |
197- docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
198- $(printf 'ghcr.io/omnivore-app/sh-web:latest@sha256:%s ' *)
199-
200- - name : Inspect image
201- run : |
202- docker buildx imagetools inspect ghcr.io/omnivore-app/sh-web:latest:${{ steps.meta.outputs.version }}
162+ merge :
163+ runs-on : ubuntu-latest
164+ needs :
165+ - build-selfhost-web-images
166+ steps :
167+ - name : Download digests
168+ uses : actions/download-artifact@v4
169+ with :
170+ path : ${{ runner.temp }}/digests
171+ pattern : digests-*
172+ merge-multiple : true
173+
174+ - name : Login to Docker Hub
175+ uses : docker/login-action@v3
176+ with :
177+ username : ${{ vars.DOCKERHUB_USERNAME }}
178+ password : ${{ secrets.DOCKERHUB_TOKEN }}
179+
180+ - name : Set up Docker Buildx
181+ uses : docker/setup-buildx-action@v3
182+
183+ - name : Docker meta
184+ id : meta
185+ uses : docker/metadata-action@v5
186+ with :
187+ images : ghcr.io/omnivore-app/sh-web:latest
188+ tags : |
189+ type=ref,event=branch
190+ type=ref,event=pr
191+ type=semver,pattern={{version}}
192+ type=semver,pattern={{major}}.{{minor}}
193+
194+ - name : Create manifest list and push
195+ working-directory : ${{ runner.temp }}/digests
196+ run : |
197+ docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
198+ $(printf 'ghcr.io/omnivore-app/sh-web:latest@sha256:%s ' *)
199+
200+ - name : Inspect image
201+ run : |
202+ docker buildx imagetools inspect ghcr.io/omnivore-app/sh-web:latest:${{ steps.meta.outputs.version }}
203203#
204204# - name: Build and push web (x86)
205205# uses: docker/build-push-action@v6
0 commit comments