Skip to content

ldot ed for acala fork #132

ldot ed for acala fork

ldot ed for acala fork #132

Workflow file for this run

name: Build Docker Images
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: acala/relayer
tags: |
type=semver,pattern={{raw}}
type=raw,value={{sha}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}