Skip to content

chore(query): publish ttc images after main #16

chore(query): publish ttc images after main

chore(query): publish ttc images after main #16

Workflow file for this run

# .github/workflows/docker-publish.yml
name: TTC docker publish
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
paths:
- 'core/**'
- 'driver/**'
- 'ttc/**'
- 'sql/**'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set Docker tag
run: echo "DOCKER_TAG=${{ startsWith(github.ref, 'refs/tags/') && github.ref[10:] || 'latest' }}" >> $GITHUB_ENV
- name: Print Docker tag
run: echo "Start to build and publish: datafuselabs/ttc-rust:$DOCKER_TAG"

Check failure on line 41 in .github/workflows/ttc.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ttc.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
- name: TTC Build and push
uses: docker/build-push-action@v2
with:
push: true
file: ./ttc/Dockerfile
tags: datafuselabs/ttc-rust:$DOCKER_TAG