Skip to content

Commit

Permalink
chore: Add latest tag too
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Somasunderam committed Apr 26, 2024
1 parent 57778b2 commit d4553c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:

- name: Build Image
working-directory: ${{matrix.image}}
run: docker build . --file Dockerfile --tag ghcr.io/rahulsom/${{matrix.image}}:$(date +%s)
run: |-
docker build . --file Dockerfile \
--tag ghcr.io/rahulsom/${{matrix.image}}:$(date +%s) \
--tag ghcr.io/rahulsom/${{matrix.image}}:latest
- name: Push Image
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit d4553c0

Please sign in to comment.