Skip to content

Commit

Permalink
Fixed tagging.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-kondratov committed Aug 19, 2024
1 parent 5cd1559 commit 161a139
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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
tag: ${{ github.ref == format('refs/heads/{0}', 'master') && 'latest' || format('pr-{0}', github.event.pull_request.number) }}

jobs:
build:
Expand Down Expand Up @@ -42,9 +42,9 @@ jobs:
cat << EOF > docker-compose.override.yml
services:
server:
image: ghcr.io/${{ github.repository }}:${tag}
image: ghcr.io/${{ github.repository }}:${tag}-arm64v8
db-init:
image: ghcr.io/${{ github.repository }}:${tag}
image: ghcr.io/${{ github.repository }}:${tag}-arm64v8
EOF
cat << EOF > server.env
Expand Down Expand Up @@ -87,9 +87,9 @@ jobs:
cat << EOF > docker-compose.override.yml
services:
server:
image: ghcr.io/${{ github.repository }}:${tag}
image: ghcr.io/${{ github.repository }}:${tag}-arm64v8
db-init:
image: ghcr.io/${{ github.repository }}:${tag}
image: ghcr.io/${{ github.repository }}:${tag}-arm64v8
EOF
cat << EOF > server.env
Expand Down

0 comments on commit 161a139

Please sign in to comment.