Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbilie committed Dec 26, 2023
1 parent e67efc1 commit e3932af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- name: REGISTRY_IMAGE
run: |
echo "REGISTRY_IMAGE=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
echo "REGISTRY_IMAGE=ghcr.io/${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
Expand All @@ -38,7 +38,7 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
- name: GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand All @@ -48,6 +48,7 @@ jobs:
id: build
uses: docker/build-push-action@v5
with:
registry: ghcr.io
context: .
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -85,7 +86,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
- name: Login to Docker Hub
- name: GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand Down

0 comments on commit e3932af

Please sign in to comment.