Skip to content

Commit

Permalink
Merge pull request #561 from alephdata/dont-tag-latest
Browse files Browse the repository at this point in the history
Don't tag test- branches with latest
  • Loading branch information
catileptic authored Dec 7, 2023
2 parents e246345 + d1ca8f7 commit 4bb9302
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ jobs:
docker tag ghcr.io/alephdata/ingest-file ghcr.io/alephdata/ingest-file:${TAG};
docker push ghcr.io/alephdata/ingest-file:${TAG};
- name: Tag latest image
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/test-')
run: |
docker push ghcr.io/alephdata/ingest-file;

0 comments on commit 4bb9302

Please sign in to comment.