mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-01 02:12:50 +02:00
deployment: Fix docker and rpm workflows (#1687)
* fix cli rpm extension * update `latest` logic for multi-arch manifests
This commit is contained in:
parent
7c29581264
commit
d1194ef6e8
2 changed files with 3 additions and 6 deletions
2
.github/goreleaser.yaml
vendored
2
.github/goreleaser.yaml
vendored
|
@ -285,4 +285,4 @@ nfpms:
|
|||
replacements:
|
||||
arm64: aarch64
|
||||
amd64: x86_64
|
||||
file_name_template: '{{ .ProjectName }}-cli-{{ .Version }}-{{ .Release }}_{{ .Arch }}{{ if .Arm }}{{if eq .Arm "7"}}hf{{ end }}{{ end }}'
|
||||
file_name_template: '{{ .ProjectName }}-cli-{{ .Version }}-{{ .Release }}.{{ .Arch }}{{ if .Arm }}{{if eq .Arm "7"}}hf{{ end }}{{ end }}'
|
||||
|
|
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
@ -84,11 +84,8 @@ jobs:
|
|||
- name: Publish latest tag
|
||||
if: "env.LATEST_TAG == steps.tagName.outputs.tag"
|
||||
run: |
|
||||
docker tag pomerium/pomerium:${{ env.LATEST_TAG }} pomerium/pomerium:latest
|
||||
docker push pomerium/pomerium:latest
|
||||
|
||||
docker tag pomerium/pomerium:arm64v8-${{ env.LATEST_TAG }} pomerium/pomerium:arm64v8-latest
|
||||
docker push pomerium/pomerium:arm64v8-latest
|
||||
docker manifest create -a pomerium/pomerium:latest pomerium/pomerium:amd64-${{ env.LATEST_TAG }} pomerium/pomerium:arm64v8-${{ env.LATEST_TAG }}
|
||||
docker manifest push pomerium/pomerium:latest
|
||||
|
||||
docker tag gcr.io/pomerium-io/pomerium:${{ env.LATEST_TAG }}-cloudrun gcr.io/pomerium-io/pomerium:latest-cloudrun
|
||||
docker push gcr.io/pomerium-io/pomerium:latest-cloudrun
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue