Skip to content

Commit

Permalink
push multiple tags with env params
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyriakos Akriotis committed Jul 8, 2024
1 parent 9494981 commit 6565ab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
context: ./
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docs-next-preview:latest
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.IMG_NAME }}:latest
${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.IMG_NAME }}:0.0.0
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Expand Down

0 comments on commit 6565ab3

Please sign in to comment.