From 066f1245da56595ef1017628f6660e7aab2f6af1 Mon Sep 17 00:00:00 2001 From: Aidan Hilt <11202897+AidanHilt@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:20:48 -0400 Subject: [PATCH] Update image_build_push.yaml Updating the versions for all of our external actions in the build push pipeline --- .github/workflows/image_build_push.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/image_build_push.yaml b/.github/workflows/image_build_push.yaml index 64c1d241..8f90da3d 100644 --- a/.github/workflows/image_build_push.yaml +++ b/.github/workflows/image_build_push.yaml @@ -52,7 +52,7 @@ jobs: steps: # https://github.com/docker/login-action#quayio - name: Login to Quay.io - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} @@ -60,7 +60,7 @@ jobs: # https://github.com/docker/login-action#aws-public-elastic-container-registry-ecr - name: Login to ECR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ inputs.AWS_ECR_REGISTRY }} username: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} @@ -75,7 +75,7 @@ jobs: fetch-depth: 0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -110,7 +110,7 @@ jobs: - name: Extract metadata id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: | quay.io/cdis/${{ env.REPO_NAME }}:${{ env.IMAGE_TAG }} @@ -118,7 +118,7 @@ jobs: - name: Build and push if: ${{ !inputs.USE_QUAY_ONLY }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 # You may get ECR-push errors when first adding the workflow to a github repo. # If so, run the following in dev/qa to create the ECR repository: # qaplanetv1@cdistest_dev_admin:~$ aws ecr create-repository --repository-name "gen3/" --image-scanning-configuration scanOnPush=true @@ -136,7 +136,7 @@ jobs: - name: Build and push (Quay only) if: ${{ inputs.USE_QUAY_ONLY }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: ${{ inputs.DOCKERFILE_BUILD_CONTEXT }} file: ${{ inputs.DOCKERFILE_LOCATION }}