mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
bugfixes in gh package action
This commit is contained in:
@@ -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]')
|
||||
|
||||
Reference in New Issue
Block a user