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