Skip to content

Commit

Permalink
Fix registry and image name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielemery committed Feb 27, 2024
1 parent bb498e1 commit e9ab349
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request: # TODO remove this line after testing
branches: ["main"]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -31,6 +35,6 @@ jobs:
with:
context: .
push: true
tags: ${{ env.RELEASE_VERSION }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE_VERSION }}
build-args: |
APP_VERSION=${{ env.RELEASE_VERSION }}

0 comments on commit e9ab349

Please sign in to comment.