This commit is contained in:
parent
e075878d32
commit
2ac89da20b
|
@ -14,13 +14,13 @@ jobs:
|
|||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.21"
|
||||
cache: false
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
|
||||
|
|
|
@ -14,20 +14,20 @@ jobs:
|
|||
steps:
|
||||
- # Get the repository's code
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
- # https://github.com/vegardit/docker-gitea-act-runner/issues/23
|
||||
name: Fix docker sock permissions
|
||||
run: sudo chmod 666 /var/run/docker.sock
|
||||
- # https://github.com/docker/setup-qemu-action
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- # https://github.com/docker/setup-buildx-action
|
||||
name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- # https://github.com/docker/login-action
|
||||
name: Log in to the Container registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
# Maybe there is a default env var for this?
|
||||
registry: git.maronato.dev
|
||||
|
@ -41,7 +41,7 @@ jobs:
|
|||
# according to the commit and the branch
|
||||
name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
# The container image name needs the custom registry in it.
|
||||
# Maybe there is a default env var for this?
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
type=semver,pattern={{major}}.{{minor}}
|
||||
- # httos://github.com/actions/cache
|
||||
name: Cache Docker layers
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/go/pkg/mod/
|
||||
|
@ -65,7 +65,7 @@ jobs:
|
|||
${{ runner.os }}-buildx-
|
||||
- # https://github.com/docker/build-push-action
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
build-args: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user