diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 581becd34..827893631 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -34,7 +34,7 @@ jobs: ${{ runner.os }}-buildx- - name: Log in to the Container registry - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 + uses: docker/login-action@v1 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -47,7 +47,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc + uses: docker/build-push-action@v2 with: context: . push: true @@ -71,7 +71,7 @@ jobs: oc project ${{ secrets.NAMESPACE }} # Cancel any rollouts in progress - oc rollout cancel dc/gfp-${{ github.event.number }} + oc rollout cancel dc/gfp-${{ github.event.number }} || true # Process and apply deployment template oc process -f .pipeline/deploy.yml \