Skip to content

Commit

Permalink
ci: add dev image
Browse files Browse the repository at this point in the history
  • Loading branch information
ojsef39 committed Jan 9, 2025
1 parent 1185692 commit daec0ef
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Build and Push Container

on:
push:
branches: [main]
branches:
- main
- dev

jobs:
build:
Expand All @@ -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
Expand Down

0 comments on commit daec0ef

Please sign in to comment.