From b3fd69a574fd9d2e2de94ec96c45022b787e5783 Mon Sep 17 00:00:00 2001 From: Dimitris ZARRAS Date: Tue, 13 Feb 2024 13:25:00 +0200 Subject: [PATCH] Allow creating/publishing Docker images from branches. --- .github/workflows/publish-to-container-registry.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-container-registry.yml b/.github/workflows/publish-to-container-registry.yml index 8ad88e29..36ed764b 100644 --- a/.github/workflows/publish-to-container-registry.yml +++ b/.github/workflows/publish-to-container-registry.yml @@ -53,6 +53,7 @@ jobs: tags: | type=semver,pattern=v{{version}} type=edge + type=ref,event=branch - name: Debug run: echo ${{ steps.meta.outputs }} - name: Build and publish with Gradle Wrapper @@ -75,6 +76,6 @@ jobs: arguments: | build bootBuildImage - --imageName=${{ fromJSON(steps.meta.outputs.json).tags[0] }} + --imageName=${{ fromJSON(steps.meta.outputs.json).tags[0] }} --publishImage --full-stacktrace