mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:37:30 +00:00
chore: update github actions (#7564)
This commit is contained in:
2
.github/workflows/compile.yml
vendored
2
.github/workflows/compile.yml
vendored
@@ -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
|
||||||
|
2
.github/workflows/console.yml
vendored
2
.github/workflows/console.yml
vendored
@@ -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
|
||||||
|
12
.github/workflows/container.yml
vendored
12
.github/workflows/container.yml
vendored
@@ -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: |
|
||||||
|
4
.github/workflows/core-test.yml
vendored
4
.github/workflows/core-test.yml
vendored
@@ -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:
|
||||||
|
2
.github/workflows/core.yml
vendored
2
.github/workflows/core.yml
vendored
@@ -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
|
||||||
|
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@@ -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:
|
||||||
|
4
.github/workflows/issues.yml
vendored
4
.github/workflows/issues.yml
vendored
@@ -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
|
||||||
|
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -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:
|
||||||
|
8
.github/workflows/release-channels.yml
vendored
8
.github/workflows/release-channels.yml
vendored
@@ -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
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -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
|
||||||
|
4
.github/workflows/version.yml
vendored
4
.github/workflows/version.yml
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user