File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 8787 with :
8888 context : ./backend
8989 platforms : linux/amd64,linux/arm64
90- push : true
90+ push : ${{ github.event_name != 'pull_request' }}
9191 tags : ${{ steps.backendMeta.outputs.tags }}
9292 labels : ${{ steps.backendMeta.outputs.labels }}
9393
9797 with :
9898 context : ./backend
9999 platforms : linux/amd64,linux/arm64
100- push : true
100+ push : ${{ github.event_name != 'pull_request' }}
101101 tags : ${{ steps.heartbeatMeta.outputs.tags }}
102102 file : ./backend/heartbeat.Dockerfile
103103 labels : ${{ steps.heartbeatMeta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -48,21 +48,14 @@ jobs:
4848 with :
4949 username : ${{ secrets.DOCKERHUB_USERNAME }}
5050 password : ${{ secrets.DOCKERHUB_PASSWORD }}
51-
52- - name : Login to GitHub Container Registry
53- uses : docker/login-action@v2
54- with :
55- registry : ghcr.io
56- username : ${{ github.actor }}
57- password : ${{ secrets.GITHUB_TOKEN }}
5851 -
5952 name : Build and push clowder-build
6053 uses : docker/build-push-action@v3
6154 with :
6255 context : ./frontend
6356 target : clowder-build
6457 platforms : linux/amd64
65- push : true
58+ push : ${{ github.event_name != 'pull_request' }}
6659 tags : ${{ steps.meta.outputs.tags }}
6760 labels : ${{ steps.meta.outputs.labels }}
6861 -
7265 context : ./frontend
7366 target : clowder-runtime
7467 platforms : linux/amd64
75- push : true
68+ push : ${{ github.event_name != 'pull_request' }}
7669 tags : ${{ steps.meta.outputs.tags }}
7770 labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments