Skip to content

Commit

Permalink
Correct image name
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryHung authored Sep 28, 2023
1 parent a569e51 commit 9279a05
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image-publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [published]

env:
IMAGE_NAME: spn-pbp-amr

jobs:
build-to-test:
uses: ./.github/workflows/docker-image-build-to-test.yml
Expand Down Expand Up @@ -39,8 +42,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
ghcr.io/${{ github.repository }}
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
tags: |
type=pep440,pattern={{version}}
- name: Build and push Docker image
Expand Down

0 comments on commit 9279a05

Please sign in to comment.