From daec0ef81bfc3c3005667e3f9a1a49402d0e85f0 Mon Sep 17 00:00:00 2001 From: Josef Hofer Date: Thu, 9 Jan 2025 10:36:36 +0100 Subject: [PATCH] ci: add dev image --- .github/workflows/Docker.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Docker.yml b/.github/workflows/Docker.yml index 096792b..1acbd2e 100644 --- a/.github/workflows/Docker.yml +++ b/.github/workflows/Docker.yml @@ -2,7 +2,9 @@ name: Build and Push Container on: push: - branches: [main] + branches: + - main + - dev jobs: build: @@ -25,7 +27,9 @@ jobs: uses: docker/build-push-action@v6 with: push: true - tags: ghcr.io/jhofer-cloud/helm-ci:latest + tags: | + ghcr.io/jhofer-cloud/helm-ci:latest + ${{ github.ref == 'refs/heads/dev' && 'ghcr.io/jhofer-cloud/helm-ci:dev' || '' }} - name: Cleanup old images uses: pcasteran/ghcr-cleaning-action@v1