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:
Brian Tarricone 2023-09-20 18:45:08 -07:00
parent 3f42a08bcb
commit 89e37e2258
2 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ jobs:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: https://gitea.com/actions/checkout@v3
- uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: stable

View File

@ -8,7 +8,7 @@ jobs:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: https://gitea.com/actions/checkout@v3
- uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: stable
@ -19,7 +19,7 @@ jobs:
name: Publish to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: https://gitea.com/actions/checkout@v3
- name: docker meta
id: meta
uses: https://github.com/docker/metadata-action@v4
@ -30,13 +30,13 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
- uses: https://gitea.com/docker/setup-qemu-action@v2
- uses: https://gitea.com/docker/setup-buildx-action@v2
- uses: https://gitea.com/docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
- uses: https://gitea.com/docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true