diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..9b2a0a5 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,25 @@ +when: + branch: [stage, main] + event: push + +matrix: + include: + - PLATFORM: linux/arm64 + TAG: arm + - PLATFORM: linux/amd64 + TAG: amd64 + +labels: + platform: ${PLATFORM} + +steps: + - name: build-and-push + image: plugins/docker + settings: + dockerfile: SatelliteProvider.Api/Dockerfile + context: . + repo: registry:5000/satellite-provider + tags: + - "${CI_COMMIT_BRANCH}-${TAG}" + - "${CI_COMMIT_SHA:0:8}-${TAG}" + insecure: true