Skip to content

Commit

Permalink
Release latest on master
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsarm committed Apr 17, 2024
1 parent c684d49 commit 52856c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ jobs:
run: docker run --rm -e PROCESS_TYPE=test --name django-coleman "mrsarm/django-coleman:${GITHUB_REF_SLUG}"
- name: Push Docker image
run: docker push "mrsarm/django-coleman:${GITHUB_REF_SLUG}"
- name: Tag "latest"
if: ${{ github.ref == 'refs/heads/master' }}
run: docker tag "mrsarm/django-coleman:${GITHUB_REF_SLUG}" mrsarm/django-coleman:latest
- name: Release "latest"
if: ${{ github.ref == 'refs/heads/master' }}
run: docker push mrsarm/django-coleman:latest

0 comments on commit 52856c0

Please sign in to comment.