Log policy NonCompliance #130
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: GoPostSubmit | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
workflow_dispatch: {} | |
env: | |
# Common versions | |
GO_REQUIRED_MIN_VERSION: '' | |
GOPATH: '/home/runner/work/config-policy-controller/config-policy-controller/go' | |
defaults: | |
run: | |
working-directory: go/src/open-cluster-management.io/config-policy-controller | |
jobs: | |
verify: | |
name: images | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
path: go/src/open-cluster-management.io/config-policy-controller | |
- name: install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go/src/open-cluster-management.io/config-policy-controller/go.mod | |
- name: images | |
run: make build-images | |
- name: push | |
run: | | |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login quay.io --username ${{ secrets.DOCKER_USER }} --password-stdin | |
docker push quay.io/open-cluster-management/config-policy-controller:latest |