Skip to content

fix table delete example code in quickstart docs (#697) #3

fix table delete example code in quickstart docs (#697)

fix table delete example code in quickstart docs (#697) #3

Workflow file for this run

name: Build and Push Docker Images
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
env:
IMAGE: ${{ github.repository }} # eg. unitycatalog/unitycatalog
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Apply metadata and tags
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE }}
# TODO: Agree on a strategy for publishing to DockerHub
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ vars.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: false # TODO: When we are ready to publish, change this to: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# TODO: Agree on a caching strategy
# NOTE: See here for an explanation of registry caching: https://tinyurl.com/4b8mfexr
# cache-from: type=registry,ref=${{ env.IMAGE }}:buildcache
# cache-to: type=registry,ref=${{ env.IMAGE }}:buildcache,mode=max