Skip to content

Commit

Permalink
Build images on branch
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 6, 2025
1 parent 9e23ca5 commit 9538316
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Continuous Integration"

on:
push:
branches: [ master ]
branches: [ stable-containers ]
pull_request:

env:
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Build Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
if: ${{ github.ref != 'refs/heads/master'}}
if: ${{ github.ref != 'refs/heads/stable-containers'}}
with:
context: .
push: false
Expand All @@ -192,7 +192,7 @@ jobs:

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
if: ${{ github.ref == 'refs/heads/master'}}
if: ${{ github.ref == 'refs/heads/stable-containers'}}
with:
context: .
push: true
Expand Down

0 comments on commit 9538316

Please sign in to comment.