Skip to content

fall back to execCommand when clipboard API is unavailable #61

fall back to execCommand when clipboard API is unavailable

fall back to execCommand when clipboard API is unavailable #61

Workflow file for this run

name: Build & Push Docker Image
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
docker-build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
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: Login to GHCR
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
build-args: |
BUILDKITE_COMMIT=${{ github.sha }}
tags: |
ghcr.io/unionai-oss/flyteconsole-v2:latest
ghcr.io/unionai-oss/flyteconsole-v2:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max