Skip to content

use @synvert-hq/synvert-ui-common package #66

use @synvert-hq/synvert-ui-common package

use @synvert-hq/synvert-ui-common package #66

Workflow file for this run

name: docker build and publish
on:
push:
branches:
- main
jobs:
build-and-publish:
name: build and publish
runs-on: ubuntu-latest
steps:
- name: Get Short SHA
id: sha
run: echo "::set-output name=sha7::$(echo ${GITHUB_SHA} | cut -c1-7)"
- name: Checkout Code
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: xinminlabs/synvert-playground:${{ steps.sha.outputs.sha7 }}