Skip to content

Commit

Permalink
chore: Update docker image build workflow to include develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbell87 committed Aug 12, 2024
1 parent 31d0056 commit 1f77bfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Build combined ARM/x86-64 image on master branch
# Build combined ARM/x86-64 image on master and develop branches
- name: Build and push cmfive ARM/x86-64 image
uses: docker/build-push-action@v6
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
with:
context: .
push: true
Expand All @@ -76,7 +76,7 @@ jobs:
# Build x86-64 image on other branches
- name: Build and push cmfive x86-64 image
uses: docker/build-push-action@v6
if: github.ref != 'refs/heads/master'
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/develop'
with:
context: .
push: true
Expand Down

0 comments on commit 1f77bfe

Please sign in to comment.