Skip to content

Commit

Permalink
Update branch name from "main" to "master" in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ErdemOzgen committed Apr 1, 2024
1 parent e0ced8d commit 6007ea0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Docker-github-push

on:
schedule:
- cron: '37 23 * * *'
push:
branches: [ "main" ]
branches: [ "master" ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
branches: [ "master" ]

env:
REGISTRY: ghcr.io
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ name: Docker-dockerhub
# documentation.

on:
schedule:
- cron: '37 23 * * *'
push:
branches: [ "main" ]
branches: [ "master" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
branches: [ "master" ]

env:
# Use docker.io for Docker Hub if empty
Expand Down

0 comments on commit 6007ea0

Please sign in to comment.