Skip to content

Commit

Permalink
Standard naming
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Apr 2, 2024
1 parent 57068ed commit 2ca1032
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/merge-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ jobs:
name: "Publish App Docker Image"

env:
DOCKER_REGISTRY: ghcr.io
DOCKER_PLATFORM: "linux/amd64"
DOCKER_IMAGE_NAME: ${{ github.repository }}
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
runs-on: ubuntu-latest

permissions:
Expand All @@ -29,15 +28,15 @@ jobs:
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_REGISTRY }}
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=sha,prefix=,format=short
Expand Down

0 comments on commit 2ca1032

Please sign in to comment.