Skip to content

Commit

Permalink
feat: only push docker image when changes are made to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jtakalai committed May 23, 2024
1 parent 7bdb5c6 commit e8dc97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
push: ${{ github.ref == 'refs/heads/main' }}
tags: streamr/stream-metrics-index:latest
platforms: linux/amd64,linux/arm64

0 comments on commit e8dc97a

Please sign in to comment.