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

Commit 455e9c6

Browse files
committed
CI: push :latest when commiting to the main branch
Also update ghaction-version-gen to 0.7.
1 parent ea3c978 commit 455e9c6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v2
2727
- id: version
28-
uses: docker://lpenz/ghaction-version-gen:0.4
28+
uses: docker://lpenz/ghaction-version-gen:0.7
2929
- uses: docker/setup-buildx-action@v1
3030
- uses: docker/login-action@v1
3131
with:
3232
username: ${{ secrets.DOCKERHUB_USERNAME }}
3333
password: ${{ secrets.DOCKERHUB_TOKEN }}
3434
- uses: docker/build-push-action@v2
35-
if: steps.version.outputs.version_tagged != ''
3635
with:
37-
push: true
38-
tags: ${{ github.repository }}:${{ steps.version.outputs.version_tagged }}
36+
push: ${{ steps.version.outputs.version_docker_ci != 'null' }}
37+
tags: ${{ github.repository }}:${{ steps.version.outputs.version_docker_ci }}
3938

0 commit comments

Comments
 (0)