chore(contract): move away from near-sdk PublicKey type (#4256) #1069
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Docker Node GCP Image | |
| # cancel-in-progress is false to avoid orphaning blobs mid-push; see RELEASES.md. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'release/v*' | |
| workflow_dispatch: | |
| jobs: | |
| build-and-push-images: | |
| name: "Build and push Docker node gcp image with commit hash" | |
| runs-on: warp-ubuntu-2604-x64-16x | |
| environment: production | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USER }} | |
| password: ${{ secrets.DOCKERHUB_PAT }} | |
| - name: Allow unprivileged user namespaces (needed by repro-env) | |
| run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 | |
| - name: Install repro-env | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y repro-env | |
| - name: Build and push node gcp image | |
| run: | | |
| export NODE_GCP_IMAGE_NAME=mpc-node-gcp | |
| ./deployment/build-images.sh --node-gcp --push |