Skip to content

Commit

Permalink
Merge pull request #19 from femshima/fix-publish-ci
Browse files Browse the repository at this point in the history
Fix image not published
  • Loading branch information
cm-ayf authored Nov 27, 2023
2 parents 3a93413 + 994808d commit d3df225
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,18 @@ jobs:
uses: docker/metadata-action@v4
id: metadata
with:
images: ghcr.io/discordjs-japan/${{ env.IMAGE_NAME }}
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
type=edge,branch=main
- name: Build and push Docker image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
Expand Down

0 comments on commit d3df225

Please sign in to comment.