WEB-133 replace master to main
This commit is contained in:
@@ -4,9 +4,9 @@ name: build-run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the main branch
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
||||
@@ -2,7 +2,7 @@ name: Publish Image in Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
run: |
|
||||
TAGS="--tag $DOCKER_ORGANIZATION/web-app:${{ steps.extract_branch.outputs.branch }}"
|
||||
|
||||
if [ "${{ steps.extract_branch.outputs.branch }}" == "master" ]; then
|
||||
if [ "${{ steps.extract_branch.outputs.branch }}" == "main" ]; then
|
||||
TAGS="$TAGS --tag $DOCKER_ORGANIZATION/web-app:${{ steps.git_hashes.outputs.short_hash }} --tag $DOCKER_ORGANIZATION/web-app:${{ steps.git_hashes.outputs.long_hash }}"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# https://github.com/marketplace/actions/close-stale-issues
|
||||
# https://github.com/actions/stale/blob/master/action.yml
|
||||
# https://github.com/actions/stale/blob/main/action.yml
|
||||
# https://github.com/actions/stale
|
||||
name: Mark stale issues and pull requests
|
||||
on:
|
||||
|
||||
@@ -2,9 +2,9 @@ name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
testRigor:
|
||||
|
||||
Reference in New Issue
Block a user