Prefer gitea.com-hosted actions where available
Some of the newer versions of the github.com versions aren't compatible with gitea's fork of act_runner.
This commit is contained in:
parent
3f42a08bcb
commit
89e37e2258
@ -9,7 +9,7 @@ jobs:
|
|||||||
name: CI
|
name: CI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://gitea.com/actions/checkout@v3
|
||||||
- uses: https://github.com/actions-rs/toolchain@v1
|
- uses: https://github.com/actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
name: Publish to crates.io
|
name: Publish to crates.io
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: https://gitea.com/actions/checkout@v3
|
||||||
- uses: https://github.com/actions-rs/toolchain@v1
|
- uses: https://github.com/actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@ -19,7 +19,7 @@ jobs:
|
|||||||
name: Publish to Docker Hub
|
name: Publish to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: https://gitea.com/actions/checkout@v3
|
||||||
- name: docker meta
|
- name: docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: https://github.com/docker/metadata-action@v4
|
uses: https://github.com/docker/metadata-action@v4
|
||||||
@ -30,13 +30,13 @@ jobs:
|
|||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
- uses: docker/setup-qemu-action@v3
|
- uses: https://gitea.com/docker/setup-qemu-action@v2
|
||||||
- uses: docker/setup-buildx-action@v3
|
- uses: https://gitea.com/docker/setup-buildx-action@v2
|
||||||
- uses: docker/login-action@v3
|
- uses: https://gitea.com/docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
- uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
- uses: https://gitea.com/docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
Loading…
Reference in New Issue
Block a user