Skip to content

v1.5.0

v1.5.0 #21

name: Publish Docker images
on:
release:
types: [published]
jobs:
build-and-push:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v2.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata for tft-stellar-evm-bridge
id: metatstellarevmbridge
uses: docker/metadata-action@v4
with:
images: ghcr.io/threefoldfoundation/tft-stellar-evm-bridge
tags: |
type=semver,pattern={{version}}
- name: Build and push the tft-stellar-evm-bridge container
uses: docker/build-push-action@v3
with:
push: true
no-cache: true
context: bridges/stellar-evm
tags: ${{ steps.metatstellarevmbridge.outputs.tags }}
labels: ${{ steps.metatstellarevmbridge.outputs.labels }}
- name: Extract metadata for bscchain-mainnet docker
id: metatbscchain
uses: docker/metadata-action@v4
with:
images: ghcr.io/threefoldfoundation/bscchain-mainnet
tags: |
type=semver,pattern={{version}}
- name: Build and push the bscchain-mainnet container
uses: docker/build-push-action@v3
with:
push: true
no-cache: true
context: bsc/bsc-docker
tags: ${{ steps.metatbscchain.outputs.tags }}
labels: ${{ steps.metatbscchain.outputs.labels }}