mygithub.libinneed.workers.dev/stackitcloud/external-dns-stackit-webhook
Advanced tools
@@ -22,7 +22,9 @@ name: Release | ||
| - name: Checkout | ||
| uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Git Fetch | ||
| run: git fetch --force --tags | ||
| - name: Setup go | ||
@@ -32,3 +34,5 @@ uses: actions/setup-go@v4 | ||
| go-version: stable | ||
| - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | ||
| - name: Cache Go Modules | ||
| uses: actions/cache@v4 | ||
| with: | ||
@@ -35,0 +39,0 @@ path: | |
+6
-3
@@ -6,2 +6,3 @@ version: 2 | ||
| version_template: '{{ .Tag }}-SNAPSHOT' | ||
| builds: | ||
@@ -57,2 +58,3 @@ - id: external-dns-stackit-webhook | ||
| - --label=org.opencontainers.image.licenses=Apache-2.0 | ||
| - --platform=linux/amd64 | ||
| skip_push: false | ||
@@ -76,5 +78,6 @@ | ||
| - --label=org.opencontainers.image.platform.os=linux | ||
| - --platform=linux | ||
| - --platform=linux/arm64 | ||
| skip_push: false | ||
| # https://goreleaser.com/cookbooks/multi-platform-docker-images | ||
| docker_manifests: | ||
@@ -87,4 +90,4 @@ - name_template: "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}" | ||
| image_templates: | ||
| - "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-amd64" | ||
| - "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-arm64" | ||
| - "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}-amd64" | ||
| - "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Tag }}-arm64" | ||
@@ -91,0 +94,0 @@ checksum: |