Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
fix: mirror to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
inian committed Dec 11, 2022
1 parent 550e3c0 commit df610ba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- release
if: needs.release.outputs.published == 'true'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3

Expand All @@ -42,6 +45,7 @@ jobs:
public.ecr.aws/supabase/imgproxy
436098097459.dkr.ecr.us-east-1.amazonaws.com/imgproxy
646182064048.dkr.ecr.us-east-1.amazonaws.com/imgproxy
ghcr.io/supabase/storage-api
tags: |
type=raw,value=v${{ needs.release.outputs.version }}
Expand Down Expand Up @@ -71,6 +75,13 @@ jobs:
username: ${{ secrets.PROD_ACCESS_KEY_ID }}
password: ${{ secrets.PROD_SECRET_ACCESS_KEY }}

- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: docker/build-push-action@v3
with:
push: true
Expand Down

0 comments on commit df610ba

Please sign in to comment.