File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build Docker image and push to repositories
33on :
44 # run it on push to the default repository branch
55 push :
6- branches : [master ]
6+ branches : [main ]
77 # run it during pull request
88 pull_request :
99 # run it weekly
4646 ghcr.io/apertium/base:latest
4747 # apertium/base:latest
4848 # build on feature branches, push only on main branch
49- push : ${{ github.ref == 'refs/heads/master ' }}
49+ push : ${{ github.ref == 'refs/heads/main ' }}
5050
5151 - name : Build image and push to Docker Hub and GitHub Container Registry
5252 uses : docker/build-push-action@v3
5858 ghcr.io/apertium/base:release
5959 # apertium/base:release
6060 # build on feature branches, push only on main branch
61- push : ${{ github.ref == 'refs/heads/master ' }}
61+ push : ${{ github.ref == 'refs/heads/main ' }}
6262
6363 - name : Image digest
6464 run : echo ${{ steps.docker_build.outputs.digest }}
You can’t perform that action at this time.
0 commit comments