Skip to content

Commit

Permalink
Update tags
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 3616eef commit fe72a82
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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 }}
2 changes: 1 addition & 1 deletion py-shiny/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cd py-shiny
export DOCKER_DEFAULT_PLATFORM=linux/amd64

# Specify tag
export TAG=lbtest/py-shiny:v1
export TAG=lbtest/py-shiny:main

# Build image
docker build -t $TAG .
Expand Down
2 changes: 1 addition & 1 deletion r-shiny/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cd r-shiny
export DOCKER_DEFAULT_PLATFORM=linux/amd64

# Specify tag
export TAG=lbtest/r-shiny:v1
export TAG=lbtest/r-shiny:main

# Build image
docker build -t $TAG .
Expand Down

0 comments on commit fe72a82

Please sign in to comment.