Skip to content

Commit

Permalink
Merge pull request #21 from SiemaApplications/fix_main_workflow
Browse files Browse the repository at this point in the history
Fix the docker build and push step in main workflow
  • Loading branch information
pfayolle authored Sep 13, 2023
2 parents 7981acb + 93ba112 commit ca588a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
- name: Get the version
id: get_version
run: |
echo "image-name=$(echo ${GITHUB_REPOSITORY} | tr A-Z a-z)" >> "$GITHUB_OUTPUT"
echo "ghcr-tag=ghcr.io/${{ steps.get_version.outputs.image-name }}:${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_OUTPUT"
image_name=$(echo ${GITHUB_REPOSITORY} | tr A-Z a-z)
echo "image-name=$image_name" >> "$GITHUB_OUTPUT"
echo "ghcr-tag=ghcr.io/$image_name:${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_OUTPUT"
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down

0 comments on commit ca588a1

Please sign in to comment.