File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ jobs:
20
20
- name : Checkout web-terminal-exec source code
21
21
uses : actions/checkout@v2
22
22
23
- - name : Docker Build & Push
24
-
25
- with :
26
- username : ${{ secrets.QUAY_USERNAME }}
27
- password : ${{ secrets.QUAY_PASSWORD }}
28
- registry : quay.io
29
- repository : wto/web-terminal-exec
30
- dockerfile : ./build/dockerfiles/Dockerfile
31
- tags : next
32
- tag_with_sha : true
23
+ - name : " Docker Quay.io Login with WTO Robot"
24
+ env :
25
+ DOCKER_USERNAME : ${{ secrets.QUAY_USERNAME }}
26
+ DOCKER_PASSWORD : ${{ secrets.QUAY_PASSWORD }}
27
+ run : |
28
+ echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin quay.io
29
+
30
+ - name : " Docker build and push"
31
+ run : |
32
+ docker build -f ./build/dockerfiles/Dockerfile -t quay.io/wto/web-terminal-exec:next .
33
+ docker push quay.io/wto/web-terminal-exec:next
Original file line number Diff line number Diff line change 9
9
# Red Hat, Inc. - initial API and implementation
10
10
#
11
11
12
- # https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/rhel8 /go-toolset
13
- FROM rhel8/ go-toolset:1.13.4-27 as builder
12
+ # https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi8 /go-toolset
13
+ FROM registry.access.redhat.com/ubi8/ go-toolset:1.14.12 as builder
14
14
ENV GOPATH=/go/
15
15
USER root
16
16
WORKDIR /che-machine-exec/
You can’t perform that action at this time.
0 commit comments