Skip to content

Commit

Permalink
Support tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
lannonbr committed Oct 19, 2024
1 parent 06def54 commit df1b2a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ on:
push:
branches:
- "main"
tags:
- "v*"
name: Docker
jobs:
build:
Expand Down Expand Up @@ -29,7 +31,7 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/lannonbr/pkmn-tcg-app:latest
tags: ghcr.io/lannonbr/pkmn-tcg-app:${{ github.ref_name }}
- name: Prune old images
run: |
cd .github/actions/prune-containers
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
pkmnTcgApp:
image: ghcr.io/lannonbr/pkmn-tcg-app:latest
image: ghcr.io/lannonbr/pkmn-tcg-app:main
volumes:
- "./data:/opt/data"
ports:
Expand Down

0 comments on commit df1b2a3

Please sign in to comment.