Skip to content

Commit

Permalink
Set version number when building in CI
Browse files Browse the repository at this point in the history
Signed-off-by: AKP <tom@tdpain.net>
  • Loading branch information
codemicro committed Aug 13, 2022
1 parent d2d07b7 commit 9b0e1c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:
run: |
echo "::set-output name=LATEST::$IMAGE_NAME:latest"
echo "::set-output name=VERSIONED::$IMAGE_NAME:${{ steps.get_version.outputs.VERSION }}"
- name: Set version number
run: bash setVersionNumber.sh "${{ steps.get_version.outputs.VERSION }}"

- name: Build Docker image
run: docker build . --file Dockerfile --tag ${{ steps.make_tags.outputs.LATEST }} --tag ${{ steps.make_tags.outputs.VERSIONED }}

Expand Down

0 comments on commit 9b0e1c7

Please sign in to comment.