From bbb49ee4388d9c77c925d157a7e46f338762ffe5 Mon Sep 17 00:00:00 2001 From: Denis Blanchette Date: Mon, 8 Nov 2021 09:50:10 -0500 Subject: [PATCH] master to main --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe4c23d..65f2680 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,20 +43,20 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build Latest - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | docker build . -t ghcr.io/coveooss/credentials-sync:latest docker push ghcr.io/coveooss/credentials-sync:latest - name: Build Tag - if: github.ref != 'refs/heads/master' + if: github.ref != 'refs/heads/main' run: | export tag=$(cut -d'/' -f3 <<<'${{ github.ref }}') docker build . -t ghcr.io/coveooss/credentials-sync:$tag docker push ghcr.io/coveooss/credentials-sync:$tag - name: Push release - if: github.ref != 'refs/heads/master' + if: github.ref != 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |