Refactor/merge dashboard to master #16
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
name: build images | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
env: | |
GO_VERSION: "1.20" | |
jobs: | |
build-images: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: go mod vendor | |
run: go mod vendor | |
- name: go build ob-operator | |
run: go build -o bin/manager cmd/operator/main.go | |
- name: go build oceanbase-dashboard | |
run: go build -o bin/oceanbase-dashboard cmd/dashboard/main.go |