From bf7a85f2511568f4577fecec90a0a02eea529628 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Thu, 25 Jan 2024 14:50:36 -0800 Subject: [PATCH] chore(deploy): re-enable docker image push --- .github/workflows/docker-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 47843b77..c45ad154 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -60,12 +60,12 @@ jobs: - name: Write version to file run: echo "${{ github.ref_name }}" >> static/version.txt - # - name: Docker Login to GitHub Container Registry - # uses: docker/login-action@v3 - # with: - # registry: ghcr.io - # username: ${{ github.actor }} - # password: ${{ secrets.GITHUB_TOKEN }} + - name: Docker Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx id: buildx @@ -80,7 +80,7 @@ jobs: cache-to: type=gha,scope=cal-itp,mode=max context: . file: Dockerfile - push: false + push: true tags: | ghcr.io/${{ github.repository }}:${{ github.ref_type != 'tag' && github.ref_name || contains(github.ref, '-rc') && 'test' || 'prod' }} ghcr.io/${{ github.repository }}:${{ github.ref_name }}