Create artifact #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-exec: | ||
name: Build exec | ||
uses: ./.github/workflows/build-exec.yml | ||
Check failure on line 25 in .github/workflows/ci.yml GitHub Actions / .github/workflows/ci.ymlInvalid workflow file
|
||
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' }} | ||
image_tags: | | ||
type=sha | ||
type=ref,event=branch | ||
type=ref,event=pr |