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