Sync node to v0.39.0 (#5) #17
This file contains 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 and push substrate ci image | |
on: | |
push: | |
branches: | |
- substrate-integration | |
pull_request: | |
jobs: | |
build-push-substrate-ci-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/[email protected] | |
- run: | | |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin | |
img_tag=$(git rev-parse --short "$GITHUB_SHA") | |
docker buildx build --provenance=false --platform linux/amd64 -t ghcr.io/${GITHUB_REPOSITORY}:${img_tag} --push . |