Skip to content

Commit

Permalink
Support dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 6, 2024
1 parent 27c7b08 commit 9527894
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Create and publish a Docker image

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

env:
Expand Down Expand Up @@ -49,7 +51,7 @@ jobs:
with:
context: .
file: ${{ matrix.image }}
push: true
push: ${{ github.ref == 'refs/heads/main' }}
tags: |
${{ env.REGISTRY }}/${{ env.REPO_NAME }}/${{ matrix.image }}:${{ steps.meta.outputs.tag }}
${{ env.REGISTRY }}/${{ env.REPO_NAME }}/${{ matrix.image }}:latest
Expand Down

0 comments on commit 9527894

Please sign in to comment.