feat: add clear canvas button to toolbar #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build and publish docker image to ghcr | |
name: pianno | |
on: | |
push: | |
tags: | |
- 'v*' | |
branches: | |
- main | |
jobs: | |
build_and_push: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
env: | |
TAG: ${{ github.ref_name }} | |
REGISTRY: ghcr.io/${{ github.repository_owner }} | |
IMAGE_NAME: ${{ github.repository }} | |
HOSTNAME: localhost | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build app image | |
run: docker build -t $REGISTRY/$IMAGE_NAME:$TAG -f ./apps/pianno/Dockerfile . | |
- name: Build docs image | |
run: docker build -t $REGISTRY/$IMAGE_NAME-docs:$TAG -f ./apps/docs/Dockerfile . | |
- name: Login to ghcr | |
uses: docker/login-action@v1 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push app image | |
run: docker push $REGISTRY/$IMAGE_NAME:$TAG | |
- name: Push docs image | |
run: docker push $REGISTRY/$IMAGE_NAME-docs:$TAG |