main to master in workflow

This commit is contained in:
Corban-Lee Jones 2024-08-12 16:32:35 +01:00
parent 59d69d95ee
commit 37ba2f473f

View File

@ -4,12 +4,12 @@ run-name: ${{ gitea.actor }} is building and pushing a Docker Image
on: on:
push: push:
branches: branches:
- main - master
- staging - staging
- dev - dev
pull_request: pull_request:
branches: branches:
- main - master
- staging - staging
- dev - dev
@ -24,7 +24,7 @@ jobs:
- name: Set Docker tag based on branch - name: Set Docker tag based on branch
id: tag id: tag
run: | run: |
if [[ "${{ gitea.ref_name }}" == "main" ]]; then if [[ "${{ gitea.ref_name }}" == "master" ]]; then
TAG="latest" TAG="latest"
elif [[ "${{ gitea.ref_name }}" == "staging" ]]; then elif [[ "${{ gitea.ref_name }}" == "staging" ]]; then
TAG="staging" TAG="staging"