Merge pull request #84 from HideyoshiSolutions/feature/better-ci-workflow

feat: fixes docker build
This commit is contained in:
2025-10-31 23:16:10 -03:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ jobs:
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
env: env:
IMAGE_TAG: ${{ github.ref_name == 'main' && 'latest' || 'dev' }} IMAGE_TAG: ${{ github.ref_name == 'main' && 'latest' || 'dev' }}
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/frontend-hideyoshi.com:latest IMAGE_NAME: ghcr.io/${{ toLower(github.repository_owner) }}/frontend-hideyoshi.com:latest
permissions: permissions:
contents: read contents: read
packages: write # required to push to ghcr.io packages: write # required to push to ghcr.io