diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index daa9e371..df40f1c7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -93,7 +93,7 @@ jobs: # To identify any broken changes in dockerfiles or dependencies - name: Build image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: ${{ env.DOCKER_FILE_PATH }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7d48ce31..362748a6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -108,7 +108,7 @@ jobs: echo GHCR_IMAGE_REPOSITORY=${{env.REGISTRY}}/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - name: Build and Push image to ghcr registry - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: ${{ env.DOCKER_FILE_PATH }} @@ -136,7 +136,7 @@ jobs: echo IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - name: Build and push image to DockerHub registry - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: ${{ env.DOCKER_FILE_PATH }} @@ -190,7 +190,7 @@ jobs: run: operator-sdk bundle validate ./bundle --select-optional name=operatorhub - name: Build and push Bundle Image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: ${{ env.BUNDLE_DOCKER_FILE_PATH }}