Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GitHub actions to latest versions #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/branch-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: keycloak-rel
ref: main
Expand All @@ -54,7 +54,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: '${{ needs.env.outputs.gh-org }}/${{ matrix.repository }}'
ref: 'main'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/branch-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: keycloak-rel
ref: main
Expand All @@ -60,7 +60,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: '${{ needs.env.outputs.gh-org }}/${{ matrix.repository }}'
token: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: '${{ needs.env.outputs.gh-org }}/${{ matrix.repository }}'
token: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x-create-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "${{ inputs.gh-org }}/${{ matrix.repository }}"
token: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
quay-org: ${{ env.quay-org }}
docker-org: ${{ env.docker-org }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: load-env
run: |
cat .github/env/${{ github.repository_owner }} | sed -r '/^\s*$/d' >> $GITHUB_ENV
14 changes: 7 additions & 7 deletions .github/workflows/x-keycloak-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: '${{ inputs.gh-org }}/keycloak'
token: ${{ secrets.GH_TOKEN }}
ref: ${{ inputs.tag }}

- name: Setup QEMU
uses: docker/setup-qemu-action@v1.2.0
uses: docker/setup-qemu-action@v3.0.0

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1.6.0
uses: docker/setup-buildx-action@v3.3.0

- name: Container metadata
id: meta
uses: docker/metadata-action@v3.6.2
uses: docker/metadata-action@v5.0.0
with:
images: |
quay.io/${{ inputs.quay-org }}/keycloak
Expand All @@ -70,14 +70,14 @@ jobs:
type=semver,pattern={{major}}.{{minor}},value=${{ inputs.tag }},enable=${{ inputs.tag != 'nightly' }}

- name: Login to Quay
uses: docker/login-action@v1.14.1
uses: docker/login-action@v3.2.0
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to Docker
uses: docker/login-action@v1.14.1
uses: docker/login-action@v3.2.0
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -90,7 +90,7 @@ jobs:
gh release download -R ${{ inputs.gh-org }}/keycloak -p keycloak-${{ inputs.version }}.tar.gz -D ./quarkus/container ${{ inputs.tag }}

- name: Build and push
uses: docker/build-push-action@v2.10.0
uses: docker/build-push-action@v5.3.0
with:
context: quarkus/container
platforms: linux/amd64,linux/arm64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/x-keycloak-nodejs-connect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.gh-org }}/keycloak-nodejs-connect
token: ${{ secrets.GH_TOKEN }}
ref: ${{ inputs.tag }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
check-latest: true
cache: npm

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/x-keycloak-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,28 @@ jobs:

steps:
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

- name: Checkout Repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: '${{ inputs.gh-org }}/keycloak'
token: ${{ secrets.GH_TOKEN }}
ref: ${{ inputs.tag }}
path: keycloak

- name: Setup QEMU
uses: docker/setup-qemu-action@v1.2.0
uses: docker/setup-qemu-action@v3.0.0

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1.6.0
uses: docker/setup-buildx-action@v3.3.0

- name: Container metadata
id: meta
uses: docker/metadata-action@v3.6.2
uses: docker/metadata-action@v5.0.0
with:
images: |
quay.io/${{ inputs.quay-org }}/keycloak-operator
Expand All @@ -84,14 +84,14 @@ jobs:
type=semver,pattern={{major}}.{{minor}},value=${{ inputs.tag }},enable=${{ inputs.tag != 'nightly' }}

- name: Login to Quay
uses: docker/login-action@v1.14.1
uses: docker/login-action@v3.2.0
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to Docker
uses: docker/login-action@v1.14.1
uses: docker/login-action@v3.2.0
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
KEYCLOAK_VERSION=${{ inputs.version }}

- name: Clone k8s resources repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: ${{ inputs.gh-org }}/keycloak-k8s-resources
path: keycloak-k8s-resources
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/x-keycloak-quickstarts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: '${{ inputs.gh-org }}/keycloak-quickstarts'
token: ${{ secrets.GH_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/x-keycloak-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: '${{ inputs.gh-org }}/keycloak.github.io'
token: ${{ secrets.GH_TOKEN }}
Expand Down Expand Up @@ -72,13 +72,13 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: '${{ inputs.gh-org }}/keycloak-web'
token: ${{ secrets.GH_TOKEN }}

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/x-keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -48,7 +48,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Checkout Repository
uses: actions/checkout@v3.0.0
uses: actions/checkout@v4
with:
repository: '${{ inputs.gh-org }}/keycloak'
token: ${{ secrets.GH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/x-publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
check-latest: true
registry-url: https://registry.npmjs.org

Expand Down