bugfixes in gh package action

This commit is contained in:
Aaro Koivukangas
2024-11-11 10:49:12 +01:00
parent d80c180c62
commit 70f9b03f1b
+2 -2
View File
@@ -10,7 +10,7 @@ env:
IMAGE_NAME: ${{ github.event_name == 'release' && 'brewery' || 'brewery-staging' }}
jobs:
push_backend:
push_package:
if: ${{ github.event_name == 'release' || (github.event_name == 'push' && !contains(github.event.head_commit.message, '#no-deploy')) }}
runs-on: ubuntu-latest
permissions:
@@ -27,7 +27,7 @@ jobs:
#
- name: Push image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$BACKEND_IMAGE_NAME
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
# This changes all uppercase characters to lowercase.
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')