Skip to content

fix helm copy typo in Dockerfile.prow (#390) #340

fix helm copy typo in Dockerfile.prow (#390)

fix helm copy typo in Dockerfile.prow (#390) #340

Workflow file for this run

name: GoPostSubmit
on:
push:
branches:
- main
workflow_dispatch: {}
env:
# Common versions
GO_VERSION: '1.20'
GO_REQUIRED_MIN_VERSION: ''
GOPATH: '/home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go'
defaults:
run:
working-directory: go/src/github.com/open-cluster-management/multicloud-operators-subscription
jobs:
coverage:
name: test
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
path: go/src/github.com/open-cluster-management/multicloud-operators-subscription
- name: install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: test
run: make test
- name: report-coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_UPLOAD_TOKEN }}
files: /home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go/src/github.com/open-cluster-management/multicloud-operators-subscription/coverage.out,/home/runner/work/multicloud-operators-subscription/multicloud-operators-subscription/go/src/github.com/open-cluster-management/multicloud-operators-subscription/addon_coverage.out
flags: unit
name: unit
verbose: true
fail_ci_if_error: true
images:
name: images
runs-on: ubuntu-latest
if: github.repository_owner == 'open-cluster-management-io'
steps:
- name: checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
path: go/src/github.com/open-cluster-management/multicloud-operators-subscription
- name: install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: install imagebuilder
run: go install github.com/openshift/imagebuilder/cmd/[email protected]
- 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/multicloud-operators-subscription:latest