Skip to content

Commit

Permalink
tag docker and create release for master tags
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrf committed Oct 22, 2023
1 parent cd48602 commit 7671b1b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,14 @@ jobs:

- name: Push to ghcr
run: docker push ghcr.io/hgrf/racine:latest

- name: Push to ghcr (tagged)
if: startsWith(github.ref, 'refs/tags/')
run: |
docker tag ghcr.io/hgrf/racine:latest \
ghcr.io/hgrf/racine:${{ github.ref }}
docker push ghcr.io/hgrf/racine:${{ github.ref }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit 7671b1b

Please sign in to comment.