mirror of https://github.com/decompals/wibo.git
Use correct token for docker deployment (#45)
* Use correct token for docker deployment * Update link to gc_wii compilers * Update deps in ci.yml too
This commit is contained in:
parent
6a420668e5
commit
ceb13b34de
|
@ -5,7 +5,7 @@ jobs:
|
|||
name: Build and test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
|||
file test.o
|
||||
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wibo
|
||||
path: build/wibo
|
||||
|
|
|
@ -10,6 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
|
@ -18,24 +19,24 @@ jobs:
|
|||
images: ghcr.io/decompals/wibo
|
||||
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to GitHub Docker Registry
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: mkst
|
||||
password: ${{ secrets.GHCR_PAT }}
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push to Github registry (latest)
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
tags: ghcr.io/decompals/wibo:latest
|
||||
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
|
||||
|
||||
- name: Build and push to Github registry (versioned)
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
|
Loading…
Reference in New Issue