Revert "ci: use GitHub Container Registry"

This reverts commit b29b017341.
This commit is contained in:
2026-09-16 20:37:12 +02:00
parent b29b017341
commit caf586f1ad
10 changed files with 321 additions and 64 deletions
+4 -5
View File
@@ -46,18 +46,17 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
IMAGE: ghcr.io/whitehai11/anouma
IMAGE: git.maro.run/maro/anouma
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: git.maro.run
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build image
run: docker build -t "$IMAGE:$GITHUB_SHA" .
- name: Push image
+4 -5
View File
@@ -6,20 +6,19 @@ on:
permissions:
contents: read
packages: write
jobs:
promote-and-deploy:
runs-on: ubuntu-latest
env:
IMAGE: ghcr.io/whitehai11/anouma
IMAGE: git.maro.run/maro/anouma
steps:
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: git.maro.run
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Pull tested image
run: docker pull "$IMAGE:$GITHUB_SHA"
- name: Promote release image