[Kreivo Runtime] Instantiate pallet_contracts
(#415)
#55
Workflow file for this run
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: Release tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Build node | |
runs-on: [self-hosted, builder] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build parachain node & artifacts | |
run: just build-container-local | |
release: | |
name: Create GH Release | |
needs: build | |
runs-on: [self-hosted, builder] | |
steps: | |
- name: Build collator artifacts | |
run: just release-artifacts | |
- name: Build full-node artifacts | |
run: just rol=full release-artifacts | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | | |
release/* | |
container: | |
name: Containerize & Publish | |
needs: build | |
runs-on: [self-hosted, builder] | |
steps: | |
- name: Login to registry | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io -u ${{ github.actor }} --password-stdin | |
- name: Publish image | |
run: | | |
podman push ghcr.io/virto-network/virto:$(just version) | |
podman push ghcr.io/virto-network/virto:latest |