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
11 changed files with 25 additions and 25 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -26,9 +26,9 @@ jobs:
steps: steps:
- -
name: Source checkout 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 }} if: ${{ !inputs.dry_run }}
with: with:
path: .artifacts path: .artifacts