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
|
name: Build and test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
file test.o
|
file test.o
|
||||||
|
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: wibo
|
name: wibo
|
||||||
path: build/wibo
|
path: build/wibo
|
||||||
|
|
|
@ -10,6 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
@ -18,24 +19,24 @@ jobs:
|
||||||
images: ghcr.io/decompals/wibo
|
images: ghcr.io/decompals/wibo
|
||||||
|
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Log in to GitHub Docker Registry
|
- name: Log in to GitHub Docker Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: mkst
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GHCR_PAT }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push to Github registry (latest)
|
- name: Build and push to Github registry (latest)
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/decompals/wibo:latest
|
tags: ghcr.io/decompals/wibo:latest
|
||||||
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
|
||||||
|
|
||||||
- name: Build and push to Github registry (versioned)
|
- name: Build and push to Github registry (versioned)
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
Loading…
Reference in New Issue