From c254e5fc2964de8d46a624a7baac2685efc8dabd Mon Sep 17 00:00:00 2001 From: Julian Vennen Date: Mon, 3 Jun 2024 15:26:15 +0200 Subject: [PATCH] Build images for dev branch --- .github/workflows/container.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index ec994faf9..a00ac3f86 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -2,11 +2,11 @@ name: Build and push Docker image on: push: + tags: + - 'v*' branches: - master - release: - types: - - published + - dev env: REGISTRY: ghcr.io @@ -35,6 +35,9 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=ref,event=branch + type=ref,event=tag - name: Build and push uses: docker/build-push-action@v4