Skip to content

Bump version to 2.9.2 (spec v153) (#1012) #12

Bump version to 2.9.2 (spec v153) (#1012)

Bump version to 2.9.2 (spec v153) (#1012) #12

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 }}