chore: update github actions (#7564)

This commit is contained in:
Livio Spring 2024-03-14 10:26:31 +01:00 committed by GitHub
parent 252e59d5cd
commit 5d2cfc06d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 25 additions and 25 deletions

View File

@ -33,7 +33,7 @@ jobs:
steps:
-
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/cache/restore@v4
timeout-minutes: 1

View File

@ -27,7 +27,7 @@ jobs:
group: zitadel-public
steps:
-
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/cache/restore@v4
timeout-minutes: 1

View File

@ -28,11 +28,11 @@ jobs:
arch: [amd64,arm64]
steps:
-
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Scratch meta
id: scratch-meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ inputs.build_image_name }}
labels: ${{ env.default_labels}}
@ -41,7 +41,7 @@ jobs:
-
name: Debug meta
id: debug-meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ inputs.build_image_name }}
labels: ${{ env.default_labels}}
@ -57,7 +57,7 @@ jobs:
driver-opts: 'image=moby/buildkit:v0.11.6'
-
name: Login to Docker registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
@ -150,7 +150,7 @@ jobs:
driver-opts: 'image=moby/buildkit:v0.11.6'
-
name: Login to Docker registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
@ -158,7 +158,7 @@ jobs:
-
name: Docker meta
id: build-meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: '${{ inputs.build_image_name }}'
tags: |

View File

@ -38,7 +38,7 @@ jobs:
--health-start-period 10s
steps:
-
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/setup-go@v5
with:
@ -109,7 +109,7 @@ jobs:
# --health-start-period 10s
# steps:
# -
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# -
# uses: actions/setup-go@v5
# with:

View File

@ -38,7 +38,7 @@ jobs:
cache_path: ${{ env.cache_path }}
steps:
-
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/cache/restore@v4
timeout-minutes: 1

View File

@ -14,7 +14,7 @@ jobs:
steps:
-
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/download-artifact@v4
with:

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: add issue
uses: actions/add-to-project@v0.5.0
uses: actions/add-to-project@v0.6.0
if: ${{ github.event_name == 'issues' }}
with:
# You can target a repository in a different organization
@ -28,7 +28,7 @@ jobs:
username: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}
- name: add pr
uses: actions/add-to-project@v0.5.0
uses: actions/add-to-project@v0.6.0
if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'engineers')}}
with:
# You can target a repository in a different organization

View File

@ -40,7 +40,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
steps:
-
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: bufbuild/buf-setup-action@v1
with:
@ -61,7 +61,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/setup-node@v4
with:
@ -81,7 +81,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/setup-go@v5
with:

View File

@ -19,24 +19,24 @@ jobs:
DOCKER_BUILDKIT: 1
steps:
- name: Source checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: get stable tag
run: echo STABLE_RELEASE=$(yq eval '.stable' release-channels.yaml) >> $GITHUB_ENV
- name: checkout stable tag
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.STABLE_RELEASE }}
- name: GitHub Container Registry Login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Google Artifact Registry Login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: europe-docker.pkg.dev
username: _json_key_base64

View File

@ -39,14 +39,14 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Login to Docker registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Login to Google Artifact Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: europe-docker.pkg.dev
username: _json_key_base64

View File

@ -26,9 +26,9 @@ jobs:
steps:
-
name: Source checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
if: ${{ !inputs.dry_run }}
with:
path: .artifacts