mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-21 19:45:58 +00:00
ci: Bump Github action versions
Nearly all the github actions we rely on have increased their major version, at least to update the Node.js version they run on, since the previous one is being deprecated and will eventually become unsupported. So this patch updates all the versions of the github actions we use.
This commit is contained in:
12
.github/workflows/docker.yml
vendored
12
.github/workflows/docker.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Docker info (for debugging)
|
||||
run: docker info
|
||||
- name: Build test image
|
||||
@@ -31,8 +31,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ">=1.20"
|
||||
- name: Install goveralls
|
||||
@@ -60,14 +60,14 @@ jobs:
|
||||
needs: [integration, coverage]
|
||||
if: github.event_name == 'push'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: docker build -t chasquid -f docker/Dockerfile .
|
||||
|
||||
# Push it to Dockerhub.
|
||||
- name: Dockerhub login
|
||||
if: env.HAS_DOCKER
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_REGISTRY_USER }}
|
||||
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
# Push it to Gitlab.
|
||||
- name: Gitlab login
|
||||
if: env.HAS_GITLAB
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: registry.gitlab.com
|
||||
username: ${{ secrets.GITLAB_REGISTRY_USER }}
|
||||
|
||||
Reference in New Issue
Block a user