File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1+ name : build-container
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build-image :
10+ runs-on : ubuntu-latest
11+ environment : container-build
12+
13+ steps :
14+ - name : Check out devolutions/dvls-kubernetes-operator
15+ uses : actions/checkout@v4
16+
17+ - name : Login to DockerHub
18+ uses : docker/login-action@v3
19+ with :
20+ username : devolutionsbot
21+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
22+
23+ - name : Build and push
24+ id : docker_build
25+ uses : docker/build-push-action@v5
26+ with :
27+ context : .
28+ push : true
29+ tags : devolutions/dvls-kubernetes-operator:latest
30+
31+ - name : Image digest
32+ run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.19 as builder
2+ FROM golang:1.21 as builder
33ARG TARGETOS
44ARG TARGETARCH
55
You can’t perform that action at this time.
0 commit comments