Skip to content

Commit

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

- name: Build Image
working-directory: ${{matrix.image}}
run: docker build . --file Dockerfile --tag rahulsom/${{matrix.image}}:$(date +%s)
run: docker build . --file Dockerfile --tag ghcr.io/rahulsom/${{matrix.image}}:$(date +%s)

- name: Push Image
if: github.ref == 'refs/heads/main'
working-directory: ${{matrix.image}}
run: docker push --all-tags ghcr.io/rahulsom/${{matrix.image}}

0 comments on commit 57778b2

Please sign in to comment.