Skip to content

Commit

Permalink
Fix registry name
Browse files Browse the repository at this point in the history
  • Loading branch information
Fethbita committed Oct 6, 2024
1 parent 1e92c74 commit 4d75264
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
paths: ['Dockerfile']

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
CARGO_TERM_COLOR: always

jobs:
Expand All @@ -21,7 +23,7 @@ jobs:
- name: Set image name to lowercase
id: img-name
run: |
echo "image_name=ghcr.io/${GITHUB_REPOSITORY,,}" >>${GITHUB_OUTPUT}
echo "image_name=${REGISTRY}/${IMAGE_NAME}" | tr '[:upper:]' '[:lower:]' >>${GITHUB_OUTPUT}
- name: Login to container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
Expand Down

0 comments on commit 4d75264

Please sign in to comment.