Skip to content

Commit

Permalink
GHA: Version updates for the docker build action
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Feb 21, 2024
1 parent 8d8b521 commit ff60ec2
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: "16"

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: "temurin"
server-id: openconext-releases
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -51,7 +52,7 @@ jobs:
if: github.event_name != 'workflow_dispatch' && steps.versioncheck.outputs.version != github.ref_name

- name: Set up JDK 11 for snapshots
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "temurin"
Expand All @@ -62,7 +63,7 @@ jobs:
if: ( endsWith(steps.versioncheck.outputs.version, '-SNAPSHOT'))

- name: Set up JDK 11 for releases
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "temurin"
Expand All @@ -79,10 +80,10 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.BUILD_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
type=sha
- name: Build and push the mujina idp image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: mujina-idp
file: mujina-idp/docker/Dockerfile
Expand All @@ -123,7 +124,7 @@ jobs:
labels: ${{ steps.meta_idp.outputs.labels }}

- name: Build and push the mujina sp image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: mujina-sp
file: mujina-sp/docker/Dockerfile
Expand Down

0 comments on commit ff60ec2

Please sign in to comment.