Compare commits
1 Commits
b9c678923e
...
d1bdbd77ca
Author | SHA1 | Date | |
---|---|---|---|
d1bdbd77ca |
@ -65,7 +65,6 @@ jobs:
|
|||||||
name: Build and push image
|
name: Build and push image
|
||||||
runs-on: ${{ matrix.arch.runner }}
|
runs-on: ${{ matrix.arch.runner }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
matrix:
|
||||||
arch:
|
arch:
|
||||||
- runner: ubuntu-latest
|
- runner: ubuntu-latest
|
||||||
@ -98,11 +97,12 @@ jobs:
|
|||||||
id: build
|
id: build
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
annotations: ${{ steps.meta.outputs.annotations }}
|
annotations: ${{ steps.meta.outputs.annotations }}
|
||||||
target: prod
|
target: prod
|
||||||
platforms: ${{ matrix.arch.platform }}
|
platforms: ${{ matrix.arch.platform }}
|
||||||
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
|
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
|
||||||
- name: Export digest
|
- name: Export digest
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{ runner.temp }}/digests
|
mkdir -p ${{ runner.temp }}/digests
|
||||||
@ -142,6 +142,7 @@ jobs:
|
|||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
type=ref,event=pr
|
||||||
type=sha
|
type=sha
|
||||||
- name: Create manifest list and push
|
- name: Create manifest list and push
|
||||||
working-directory: ${{ runner.temp }}/digests
|
working-directory: ${{ runner.temp }}/digests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user