mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-10 03:07:59 +00:00
37 lines
840 B
YAML
37 lines
840 B
YAML
name: GoPostSubmit
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release-*
|
|
workflow_dispatch: {}
|
|
|
|
env:
|
|
# Common versions
|
|
GO_VERSION: '1.16'
|
|
GO_REQUIRED_MIN_VERSION: ''
|
|
GOPATH: '/home/runner/work/registration/registration/go'
|
|
defaults:
|
|
run:
|
|
working-directory: go/src/open-cluster-management.io/registration
|
|
|
|
jobs:
|
|
verify:
|
|
name: images
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
path: go/src/open-cluster-management.io/registration
|
|
- name: install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
- name: install imagebuilder
|
|
run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.1
|
|
- name: images
|
|
run: make images
|