Skip to content

Commit

Permalink
Fixed tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-kondratov committed Aug 19, 2024
1 parent 4ae2329 commit 4f74e54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

env:
out_dir: ${{ vars.OUTPUT_DIR }}
tag: ${{ github.ref == format('refs/heads/{0}', 'master') && 'latest' || format('pr-{0}', github.event.pull_request.number) }}-arm64v8

jobs:
deploy:
Expand All @@ -23,9 +24,9 @@ jobs:
cat << EOF > docker-compose.override.yml
services:
server:
image: ghcr.io/${{ github.repository }}:latest-arm64v8
image: ghcr.io/${{ github.repository }}:${tag}
db-init:
image: ghcr.io/${{ github.repository }}:latest-arm64v8
image: ghcr.io/${{ github.repository }}:${tag}
EOF
cat << EOF > server.env
Expand Down

0 comments on commit 4f74e54

Please sign in to comment.