Skip to content

Commit

Permalink
ci: fix: ghcr image tag lost host && clear workflow and step name (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjour-py authored Jun 13, 2024
1 parent 68b0513 commit 2820cc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-dockerhub.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/metcalfc/docker-action-examples/blob/main/.github/workflows/release.yml

name: Publish Docker Image to Docker Hub
name: Publish Docker Image to Docker Hub and GHCR

# When its time to do a release do a full cross platform build for all supported
# architectures and push all of them to Docker Hub.
Expand All @@ -27,7 +27,7 @@ jobs:
id: prep
run: |
DOCKER_IMAGE=ray1ex/asgi-webdav
GHCR_IMAGE=rexzhang/asgi-webdav
GHCR_IMAGE=ghcr.io/${{ github.repository }}
VERSION=edge
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Log in to the Container registry
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand Down

0 comments on commit 2820cc6

Please sign in to comment.