Skip to content

Publish docker image #30

Publish docker image

Publish docker image #30

Workflow file for this run

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize, labeled]
jobs:
unit-test:
runs-on: cdk-standard
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.22.0
- name: go test
run: go test ./...
integration-test:
runs-on: cdk-standard
steps:
- uses: actions/checkout@v3
- name: run test
run: ./test_final_exec.sh
build-docker:
name: Build and publish conduktorctl images
uses: ./.github/workflows/build-docker.yml
secrets: inherit
needs: [unit-test, integration-test]
with:
release: false
push: github.ref_name == 'main'

Check failure on line 30 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 30, Col: 13): Unexpected value 'github.ref_name == 'main''
image_tags: |
type=sha
type=ref,event=branch
type=ref,event=pr