Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
# IMAGE_NAME: ${{ github.repository }}


jobs:
Expand All @@ -45,6 +45,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}


- id: imagename
uses: ASzc/change-string-case-action@v2
with:
string: ${{ github.repository }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand All @@ -54,7 +59,5 @@ jobs:
context: ./image-updater/source-code
file: ./image-updater/source-code/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:${{ inputs.docker_tag }}


tags: ghcr.io/${{ steps.imagename.outputs.lowercase }}:${{ inputs.docker_tag }}