Skip to content

Commit

Permalink
Merge pull request #5 from rtuszik/cicd
Browse files Browse the repository at this point in the history
fix(workflow): correct PHOTON_VERSION assignment in Docker build step
  • Loading branch information
rtuszik authored Oct 3, 2024
2 parents 167fc80 + 6030a15 commit a515922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:
else
echo "RELEASE_TAG=${{ github.event.inputs.release_tag }}" >> "$GITHUB_ENV"
fi
echo "PHOTON_VERSION=${{ github.event.inputs.release_tag }}" >> "$GITHUB_ENV"
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
build-args: |
PHOTON_VERSION=${{ env.RELEASE_TAG }}
PHOTON_VERSION=${{ env.PHOTON_VERSION }}
push: true
tags: |
rtuszik/photon-docker:${{ env.RELEASE_TAG }}
Expand Down

0 comments on commit a515922

Please sign in to comment.