Skip to content

Docs: Add Vanna Chat2SQL tutorial (#170) #62

Docs: Add Vanna Chat2SQL tutorial (#170)

Docs: Add Vanna Chat2SQL tutorial (#170) #62

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
workflow_dispatch: { }
permissions:
contents: read
env:
# Common versions
GO_VERSION: '1.21'
jobs:
release:
permissions:
contents: write
actions: read
checks: write
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
runs-on: ubuntu-22.04
name: goreleaser
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Docker Login
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
username: ${{ secrets.REG_USER }}
password: ${{ secrets.REG_PASSWD }}
- name: Build Images
id: build
run: |
make docker-build IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }}
- name: Push Images
run: |
make docker-push IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }}
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
distribution: goreleaser
version: 1.24.0
args: release --clean --timeout 60m
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GO_VERSION: ${{ env.GO_VERSION }}