File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Operator
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v1
14+ - name : Generate Docker Tag
15+ run : |
16+ echo ${{ github.ref }} | cut -d '/' -f 3 > DOCKER_TAG
17+ - name : Build and push container image
18+ run : |
19+ docker build --file build/Dockerfile.dist --tag movetokube/postgres-operator:$(cat DOCKER_TAG) .
20+ docker login --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_TOKEN }}
21+ docker push movetokube/postgres-operator:$(cat DOCKER_TAG)
Original file line number Diff line number Diff line change 1- FROM golang:1.12.6 -stretch
1+ FROM golang:1.13.3 -stretch
22
33COPY . /go/src/github.com/movetokube/postgres-operator
44WORKDIR /go/src/github.com/movetokube/postgres-operator/cmd/manager
You can’t perform that action at this time.
0 commit comments