Skip to content

Commit 28ac896

Browse files
authored
Update branch name
1 parent 68c2938 commit 28ac896

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-push-containers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Docker image and push to repositories
33
on:
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
@@ -46,7 +46,7 @@ jobs:
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
@@ -58,7 +58,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)