Skip to content

Commit

Permalink
Don't release "master" image
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsarm committed Apr 17, 2024
1 parent 79ed3fa commit 54e643a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
run: ./docker-build.sh "${GITHUB_REF_SLUG}"
- name: Run tests
run: docker run --rm -e PROCESS_TYPE=test --name django-coleman "mrsarm/django-coleman:${GITHUB_REF_SLUG}"
- name: Push Docker image
- name: Release Docker image
if: ${{ github.ref != 'refs/heads/master' }}
run: docker push "mrsarm/django-coleman:${GITHUB_REF_SLUG}"
- name: Tag "latest"
if: ${{ github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit 54e643a

Please sign in to comment.