mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-29 17:07:24 +02:00
ci: fix deprecated command in latestTag step (#1763)
This commit is contained in:
parent
b959ddbfc1
commit
2d819f8d35
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
@ -79,10 +79,10 @@ jobs:
|
||||||
id: latestTag
|
id: latestTag
|
||||||
run: |
|
run: |
|
||||||
LATEST_TAG=$(git tag | grep -vi 'rc' | sort --version-sort | tail -1)
|
LATEST_TAG=$(git tag | grep -vi 'rc' | sort --version-sort | tail -1)
|
||||||
echo "::set-env name=LATEST_TAG::$LATEST_TAG"
|
echo "::set-output name=tag::${LATEST_TAG}"
|
||||||
|
|
||||||
- name: Publish latest tag
|
- name: Publish latest tag
|
||||||
if: "env.LATEST_TAG == steps.tagName.outputs.tag"
|
if: "steps.latestTag.outputs.tag == steps.tagName.outputs.tag"
|
||||||
run: |
|
run: |
|
||||||
docker manifest create -a pomerium/pomerium:latest pomerium/pomerium:amd64-${{ env.LATEST_TAG }} pomerium/pomerium:arm64v8-${{ env.LATEST_TAG }}
|
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 manifest push pomerium/pomerium:latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue