Skip to content

Commit

Permalink
Only use run_number and run_attempt to version
Browse files Browse the repository at this point in the history
  • Loading branch information
treyturner committed Apr 21, 2023
1 parent e703dd2 commit 623fe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
run: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN
- name: Build and tag
run: docker build . --file Dockerfile --tag $DOCKERHUB_USERNAME/$PROJECT_NAME:latest --tag $DOCKERHUB_USERNAME/$PROJECT_NAME:${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }}
run: docker build . --file Dockerfile --tag $DOCKERHUB_USERNAME/$PROJECT_NAME:latest --tag $DOCKERHUB_USERNAME/$PROJECT_NAME:${{ github.run_number }}.${{ github.run_attempt }}
- name: Publish
run: docker push --all-tags ${{secrets.DOCKERHUB_USERNAME}}/sabnzbd-sanitizer

0 comments on commit 623fe76

Please sign in to comment.