Skip to content

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
devbyteops committed Dec 24, 2024
1 parent 8697957 commit 1aeb328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
env:
IMG_NAME: ${{ github.repository }}
IMG_VERSION: 0.0.3
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -26,7 +27,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build docker image
run: docker build -t docker.io/${{ github.repository }}:0.0.3 . # change version
run: docker build -t docker.io/${{ github.repository }}:${{ env.IMG_VERSION }} .

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
Expand Down

0 comments on commit 1aeb328

Please sign in to comment.