Skip to content

Commit

Permalink
chore(deploy): re-enable docker image push
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Jan 25, 2024
1 parent 3d03a57 commit bf7a85f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit bf7a85f

Please sign in to comment.