Skip to content

Commit

Permalink
Use GITHUB_SHA instead
Browse files Browse the repository at this point in the history
Turns out [GITHUB_REF_NAME](https://docs.github.com/en/actions/learn-github-actions/variables) will match the branch name instead of a git describe value.
  • Loading branch information
montaguethomas authored Oct 30, 2023
1 parent f79daa4 commit af429e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/k8s-content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: metal-toolbox/container-push/.github/workflows/container-push.yml@main
with:
name: k8scontent
tag: ${GITHUB_REF_NAME}
tag: ${GITHUB_SHA}
latest: true
registry_org: complianceascode
dockerfile_path: ./Dockerfiles/ocp4_content
Expand Down

0 comments on commit af429e2

Please sign in to comment.