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