diff --git a/.gitea/actions/docker-build-push/action.yaml b/.gitea/actions/docker-build-push/action.yaml index c7bbb97..290790f 100644 --- a/.gitea/actions/docker-build-push/action.yaml +++ b/.gitea/actions/docker-build-push/action.yaml @@ -27,6 +27,13 @@ runs: with: context: workflow images: ${{ inputs.registry_image }} + tags: | + type=ref,event=branch + type=ref,event=tag + type=ref,event=pr + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=raw,value=latest,enable={{is_default_branch}} - name: Build and push Docker image uses: docker/build-push-action@v6