Compare commits
2 Commits
5530323843
...
feature/su
Author | SHA1 | Date | |
---|---|---|---|
204c600a21 | |||
b567d34f1c |
@@ -65,6 +65,7 @@ jobs:
|
||||
name: Build and push image
|
||||
runs-on: ${{ matrix.arch.runner }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch:
|
||||
- runner: ubuntu-latest
|
||||
@@ -101,7 +102,7 @@ jobs:
|
||||
annotations: ${{ steps.meta.outputs.annotations }}
|
||||
target: prod
|
||||
platforms: ${{ matrix.arch.platform }}
|
||||
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
|
||||
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
|
||||
- name: Export digest
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}/digests
|
||||
@@ -141,7 +142,6 @@ jobs:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=sha
|
||||
- name: Create manifest list and push
|
||||
working-directory: ${{ runner.temp }}/digests
|
||||
|
15
.woodpecker/image.yml
Normal file
15
.woodpecker/image.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
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