diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 9c12c5c..eb2febf 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -16,11 +16,11 @@ jobs: uses: actions/checkout@v3 - - name: Login to Docker Hub + name: Login to ghcr.io uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ github.actor }} + username: yimura password: ${{ secrets.PACKAGE_WRITE_TOKEN }} - @@ -28,4 +28,18 @@ jobs: uses: docker/build-push-action@v4 with: push: true - tags: ghcr.io/yimura/lancache-prefill-cron:latest \ No newline at end of file + tags: ghcr.io/yimura/lancache-prefill-cron:latest + + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: yimura + password: ${{ secrets.DOCKER_TOKEN }} + + - + name: Build and push container + uses: docker/build-push-action@v4 + with: + push: true + tags: yimura/lancache-prefill-cron:latest \ No newline at end of file