Skip to content

Commit

Permalink
update workflow repo owner tag (#21)
Browse files Browse the repository at this point in the history
* update workflow repo owner tag
  • Loading branch information
tylerhutcherson committed Nov 2, 2023
1 parent 590eead commit 0ab9210
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry

- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }} # or use your PAT: secrets.GHCR_PAT

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/arxivchatguru:${{ github.ref == 'refs/heads/main' && 'latest' || 'canary' }}
tags: ghcr.io/redisventures/arxivchatguru:${{ github.ref == 'refs/heads/main' && 'latest' || 'canary' }}

0 comments on commit 0ab9210

Please sign in to comment.