From 55d8f23365d881c0ce7b59889ec2949f05bc9f29 Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Wed, 27 Mar 2024 16:40:53 +0000 Subject: [PATCH] Update actions in our workflow --- .github/workflows/docker-publish-individual.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish-individual.yml b/.github/workflows/docker-publish-individual.yml index 0e400cbbd8..05a36fddb7 100644 --- a/.github/workflows/docker-publish-individual.yml +++ b/.github/workflows/docker-publish-individual.yml @@ -33,10 +33,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout other repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} @@ -44,7 +44,7 @@ jobs: if: ${{ inputs.repository != '' }} - name: Log into registry ${{ env.REGISTRY }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -52,7 +52,7 @@ jobs: - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_BASE_PATH }}/${{ inputs.folder }} # Turn off auto-latest, as we want to exclude openshift tags from that @@ -60,7 +60,7 @@ jobs: latest=false - name: Build and push Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: "${{ inputs.folder }}" push: ${{ github.event_name != 'pull_request' }}