diff --git a/.github/actions/build-images/action.yml b/.github/actions/build-images/action.yml index 9ab7023106..cf86d31a39 100644 --- a/.github/actions/build-images/action.yml +++ b/.github/actions/build-images/action.yml @@ -19,11 +19,17 @@ runs: pack-version: 0.30.0 # docker hub login - - uses: docker/login-action@v1 + - name: Login to docker.io + uses: docker/login-action@v1 with: username: ${{ inputs.dockerhub-username }} password: ${{ inputs.dockerhub-password }} - + - name: Login to GCR + uses: docker/login-action@v3 + with: + registry: gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: Build Images env: TAG: ${{ inputs.version }} diff --git a/.github/actions/build-images/build-images.sh b/.github/actions/build-images/build-images.sh index 49c87c7580..5320a5865d 100755 --- a/.github/actions/build-images/build-images.sh +++ b/.github/actions/build-images/build-images.sh @@ -74,7 +74,6 @@ for ((i = 0; i < len; i++)); do docker system prune -f docker system prune --volumes -f echo "Sleeping for 5mins" - sleep 300 fi done