Skip to content

Commit

Permalink
Update docker-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skrishnan-sap committed Sep 8, 2023
1 parent 903be43 commit 4041605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
id: get_version_from_container_reg
run: |
export GHCR_TOKEN=$(echo ${{ github.token }} | base64)
echo "version=$(curl -H "Authorization: Bearer $GHCR_TOKEN" https://ghcr.io/v2/${{ github.repository_owner }}/cap-operator-manager/tags/list | jq '.tags[]' | sort -V | tail -n 2 | head -n 1)" >> $GITHUB_OUTPUT
echo "version=$(curl -H "Authorization: Bearer $GHCR_TOKEN" https://ghcr.io/v2/${{ github.repository }}/cap-operator-manager/tags/list | jq '.tags[]' | sort -V | tail -n 2 | head -n 1)" >> $GITHUB_OUTPUT
- name: Print docker version from container registry
run: "echo ${{ steps.get_version_from_container_reg.outputs.version }}"
Expand Down

0 comments on commit 4041605

Please sign in to comment.