From 723d279e53b199fca96e601c4e5e5a74e6b40cb0 Mon Sep 17 00:00:00 2001 From: Joep de Jong Date: Wed, 11 Oct 2023 15:25:51 +0200 Subject: [PATCH] Update workflow --- .github/workflows/docker.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ca17435f..2c0fb261 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,28 +21,28 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '17' - name: Test Coverage run: ./gradlew clean build jacocoTestReport jacocoFix --scan - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: ghcr.io/wisvch/events tags: type=sha, prefix={{date 'YYYYMMDD'}}- - name: Build and push Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . tags: ${{ steps.meta.outputs.tags }}