Update docker-publish.yml

This commit is contained in:
Cohee 2024-04-06 15:55:06 +03:00 committed by GitHub
parent 13762470b0
commit 368df65337
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@ on:
env:
# This should allow creation of docker images even in forked repositories
IMAGE_NAME: ${{ github.repository }}
REPO: ${{ github.repository }}
REGISTRY: ghcr.io
jobs:
@ -20,6 +20,11 @@ jobs:
runs-on: ubuntu-latest
steps:
## Workaround for GitHub repo names containing uppercase characters
- name: set lowercase repo name
run: |
echo "IMAGE_NAME=${REPO,,}" >>${GITHUB_ENV}
# Using the following workaround because currently GitHub Actions
# does not support logical AND/OR operations on triggers
# It's currently not possible to have `branches` under the `schedule` trigger