From 9f7d71dbb02365a93439c8e757a87afbbe90c69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Thu, 24 Jul 2025 23:58:08 +0200 Subject: [PATCH] Fix Gitea references to use GitHub context in Docker publish workflow --- .github/workflows/docker-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5bfc314..56ccf04 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -54,14 +54,14 @@ jobs: DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index with: images: ghcr.io/thelovinator1/anewdawn - tags: type=raw,value=latest,enable=${{ gitea.ref == format('refs/heads/{0}', 'master') }} + tags: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} # Build and push the Docker image - uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64,linux/arm64 - push: ${{ gitea.event_name != 'pull_request' }} + push: ${{ github.event_name != 'pull_request' }} labels: ${{ steps.meta.outputs.labels }} tags: ${{ steps.meta.outputs.tags }} annotations: ${{ steps.meta.outputs.annotations }}