This commit is contained in:
parent
2e491845a5
commit
168839499e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -27,8 +27,8 @@ jobs:
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
|
|
@ -39,8 +39,8 @@ jobs:
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/imnyang/imnya.ng:latest
|
git.mizuki.guru/imnyang/imnya.ng:latest
|
||||||
ghcr.io/imnyang/imnya.ng:${{ github.run_id }}
|
git.mizuki.guru/imnyang/imnya.ng:${{ github.run_id }}
|
||||||
# update:
|
# update:
|
||||||
# runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
# steps:
|
# steps:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue