Skip to content

First draft of CD workflow #1

First draft of CD workflow

First draft of CD workflow #1

Workflow file for this run

name: CD
on:
merge_group:
types:
- checks_requested
pull_request:
branches:
- "**"
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Query Connector Image
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
packages: "write"
steps:
- name: Check Out Changes
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
working-directory: ./query-connector

Check failure on line 43 in .github/workflows/cd.yaml

View workflow run for this annotation

GitHub Actions / CD

Invalid workflow file

The workflow is not valid. .github/workflows/cd.yaml (Line: 43, Col: 9): Unexpected value 'working-directory' .github/workflows/cd.yaml (Line: 46, Col: 17): A sequence was not expected
with:
push: true
tags: [main, latest]