main to master in workflow
This commit is contained in:
parent
59d69d95ee
commit
37ba2f473f
@ -4,12 +4,12 @@ run-name: ${{ gitea.actor }} is building and pushing a Docker Image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- staging
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- staging
|
||||
- dev
|
||||
|
||||
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Set Docker tag based on branch
|
||||
id: tag
|
||||
run: |
|
||||
if [[ "${{ gitea.ref_name }}" == "main" ]]; then
|
||||
if [[ "${{ gitea.ref_name }}" == "master" ]]; then
|
||||
TAG="latest"
|
||||
elif [[ "${{ gitea.ref_name }}" == "staging" ]]; then
|
||||
TAG="staging"
|
||||
|
Loading…
x
Reference in New Issue
Block a user