Skip to content

Commit

Permalink
Apply branch name as tag
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Solymos <psolymos@gmail.com>
  • Loading branch information
psolymos committed Jul 2, 2024
1 parent 6ef11e7 commit af177b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/py-shiny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

env:
SHINY_SETUP: py-shiny
TAG: latest

permissions:
packages: write
Expand Down Expand Up @@ -46,5 +45,7 @@ jobs:
context: ./${{ env.SHINY_SETUP }}
file: ./${{ env.SHINY_SETUP }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/${{ env.SHINY_SETUP }}:${{ env.TAG }}
tags: |
ghcr.io/${{ github.repository }}/${{ env.SHINY_SETUP }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}/${{ env.SHINY_SETUP }}:latest
labels: ${{ steps.meta.outputs.labels }}
5 changes: 3 additions & 2 deletions .github/workflows/r-shiny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

env:
SHINY_SETUP: r-shiny
TAG: latest

permissions:
packages: write
Expand Down Expand Up @@ -46,5 +45,7 @@ jobs:
context: ./${{ env.SHINY_SETUP }}
file: ./${{ env.SHINY_SETUP }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/${{ env.SHINY_SETUP }}:${{ env.TAG }}
tags: |
ghcr.io/${{ github.repository }}/${{ env.SHINY_SETUP }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}/${{ env.SHINY_SETUP }}:latest
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit af177b4

Please sign in to comment.