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