Skip to content

Commit

Permalink
Added "latest" tag to "build image" workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Nov 19, 2023
1 parent ae48303 commit 4c85c7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ jobs:

- name: Push Docker image (${{ env.tag }})
run: docker push ${{ env.tag }}

- name: Push "latest" tag
run: docker tag "$tag" ${latest=${{ env.registry }}/${{ env.image }}}
&& docker push "$latest"
if: ${{ matrix.distro == 'Alpine' }}

0 comments on commit 4c85c7b

Please sign in to comment.