Skip to content

Commit 3c9768a

Browse files
authored
Update main.yml
fixed the name of the branch from master to main in order to push the docker image on the docker registry
1 parent ed9d977 commit 3c9768a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
password: ${{ secrets.DOCKER_PASSWORD }}
4343

4444
- name: Build and Push Docker image
45-
if: github.ref == 'refs/heads/master'
45+
if: github.ref == 'refs/heads/main'
4646
uses: docker/build-push-action@v6
4747
with:
4848
context: .

0 commit comments

Comments
 (0)