[ci skip] Docker image build location change

Signed-off-by: オスカー、 <ore@nrma.cc>
This commit is contained in:
オスカー、 2024-09-29 20:17:04 +09:00 committed by GitHub
parent 4b6cbdab39
commit b62b0ebe5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ jobs:
push_to_registry: push_to_registry:
name: Push Docker image to GitHub Container Registry name: Push Docker image to GitHub Container Registry
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
if: github.repository == 'SWREI/oscar_surf' if: github.repository == 'oscar-surf/misskey'
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -25,7 +25,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ghcr.io/swrei/misskey images: ghcr.io/oscar-surf/misskey
- name: Log in to GitHub Container Registry - name: Log in to GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@ -44,8 +44,8 @@ jobs:
platforms: ${{ steps.buildx.outputs.platforms }} platforms: ${{ steps.buildx.outputs.platforms }}
provenance: false provenance: false
labels: ${{ env.FORMATTED_BRANCH_NAME }} labels: ${{ env.FORMATTED_BRANCH_NAME }}
cache-from: type=registry,ref=ghcr.io/swrei/misskey:oscar-buildcache cache-from: type=registry,ref=ghcr.io/oscar-surf/misskey:oscar-buildcache
cache-to: type=registry,ref=ghcr.io/swrei/misskey:oscar-buildcache,mode=max cache-to: type=registry,ref=ghcr.io/oscar-surf/misskey:oscar-buildcache,mode=max
tags: | tags: |
ghcr.io/swrei/misskey:latest ghcr.io/oscar-surf/misskey:latest
ghcr.io/swrei/misskey:${{ env.FORMATTED_BRANCH_NAME }} ghcr.io/oscar-surf/misskey:${{ env.FORMATTED_BRANCH_NAME }}