Skip to content

fix(ci): pin Srtool version to 1.77.0 for compatibility (#1015) #13

fix(ci): pin Srtool version to 1.77.0 for compatibility (#1015)

fix(ci): pin Srtool version to 1.77.0 for compatibility (#1015) #13

name: Publish tfchain image
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/threefoldtech/tfchain
tags: |
type=semver,pattern={{version}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
file: ./substrate-node/Dockerfile
context: ./substrate-node/.
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}