From c6ace9125e0cf41366baa13a83cc3ffc99c6f7e1 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 20:10:20 +0200 Subject: [PATCH] ci: new tag format on pr --- .gitea/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 97cc578..cdb6fab 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,7 +8,6 @@ on: # Variables: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables + https://forgejo.org/docs/latest/user/actions/#env-1 - jobs: lint: steps: @@ -57,6 +56,10 @@ jobs: with: images: | registry.mgrote.net/${{ steps.name.outputs.REPO_NAME }} + tags: | + type=raw,value=latest,enable={{is_default_branch}} + type=ref,event=branch + type=ref,event=pr - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub