| steps: | |
| - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk:latest' | |
| entrypoint: 'bash' | |
| args: | |
| - '-c' | |
| - | | |
| # Download and install gcrane | |
| curl -L \ | |
| https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_Linux_x86_64.tar.gz \ | |
| -o go-containerregistry.tar.gz && \ | |
| tar -zxvf go-containerregistry.tar.gz && \ | |
| chmod +x gcrane && \ | |
| mv gcrane /usr/local/bin/ && \ | |
| gcrane --help && \ | |
| # Run the release script | |
| pip3 install --break-system-packages -r release/requirements.txt && \ | |
| python3 release/release.py ${_BUILD_GCR} ${_RELEASE_GCR} ${_RELEASE_GCS} |