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 25, 2024
1 parent 694a885 commit a47e8aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ jobs:
- name: Build Image
working-directory: ${{matrix.image}}
run: docker build . --file Dockerfile --tag rahulsom/${{matrix.image}}:$(date +%s)

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

0 comments on commit a47e8aa

Please sign in to comment.