From 3619707df752ed37051271e37d991bc604130708 Mon Sep 17 00:00:00 2001 From: Amos Date: Sat, 6 Sep 2025 18:06:25 +0100 Subject: [PATCH] Add production environment to Docker publish workflow --- .github/workflows/docker-publish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index cc41e14..39e702b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -9,6 +9,7 @@ on: jobs: build-and-push: + environment: production runs-on: ubuntu-latest permissions: @@ -32,13 +33,9 @@ jobs: with: images: ghcr.io/${{ github.repository }} tags: | - # set latest tag for default branch type=raw,value=latest,enable={{is_default_branch}} - # tag for releases type=ref,event=tag - # tag for pull requests type=ref,event=pr - # tag with commit sha type=sha - name: Build and push Docker image