Compare commits
1 Commits
feature/su
...
5530323843
Author | SHA1 | Date | |
---|---|---|---|
5530323843 |
@@ -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
|
||||||
@@ -102,7 +101,7 @@ jobs:
|
|||||||
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 +141,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
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: "**"
|
|
||||||
matrix:
|
|
||||||
platform:
|
|
||||||
- linux/amd64
|
|
||||||
- linux/arm64
|
|
||||||
labels:
|
|
||||||
platform: ${platform}
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
|
||||||
settings:
|
|
||||||
repo: brosner.dev/brosner/teufa
|
|
||||||
tag: wpp-${platform}
|
|
Reference in New Issue
Block a user