From cd5ff2c45914b9a37ab0a606230e7a118be06265 Mon Sep 17 00:00:00 2001 From: Matthew Macdonald-Wallace Date: Wed, 13 Oct 2021 13:47:08 +0100 Subject: [PATCH] Update changes to use master rather than main --- .github/workflows/container_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container_build.yml b/.github/workflows/container_build.yml index 4681fe1..3cb59ca 100644 --- a/.github/workflows/container_build.yml +++ b/.github/workflows/container_build.yml @@ -6,10 +6,10 @@ name: Build and deploy containers on: push: branches: - - 'main' + - 'master' pull_request: branches: - - main + - master # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -41,7 +41,7 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} type=sha - type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }} + type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} - name: Login to Docker Hub uses: docker/login-action@v1