Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
CI: push :latest when commiting to the main branch
Browse files Browse the repository at this point in the history
Also update ghaction-version-gen to 0.7.
  • Loading branch information
lpenz committed Jan 2, 2022
1 parent ea3c978 commit 455e9c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- id: version
uses: docker://lpenz/ghaction-version-gen:0.4
uses: docker://lpenz/ghaction-version-gen:0.7
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v2
if: steps.version.outputs.version_tagged != ''
with:
push: true
tags: ${{ github.repository }}:${{ steps.version.outputs.version_tagged }}
push: ${{ steps.version.outputs.version_docker_ci != 'null' }}
tags: ${{ github.repository }}:${{ steps.version.outputs.version_docker_ci }}

0 comments on commit 455e9c6

Please sign in to comment.