-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (29 loc) · 934 Bytes
/
push.yml
File metadata and controls
29 lines (29 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: build latest on push to master and release
on:
push:
branches:
- master
- release/*
jobs:
operator-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: operator-sdk
env:
GO111MODULE: "on"
uses: ./.github/action/operator-sdk
with:
args: build docker.io/kubedex/helm-controller:latest
- name: push to docker.io
run: |
docker login ${DOCKER_REGISTRY_URL} --username ${DOCKER_USERNAME} --password "${DOCKER_PASSWORD}"
docker push docker.io/kubedex/helm-controller:latest
env:
DOCKER_REGISTRY_URL: ${{ secrets.DOCKER_REGISTRY_URL }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: goreportcard
uses: ./.github/action/curl
with:
args: -d repo=github.com/Kubedex/helm-controller https://goreportcard.com/checks