File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Deploy
3
3
# Define when the workflow should run
4
4
on :
5
5
# Allow manual triggering of the workflow from the Actions tab
6
+ braches :
7
+ - features/db
6
8
workflow_dispatch :
7
9
8
10
# Allow inputs to be passed when manually triggering the workflow from the Actions tab
11
13
type : string
12
14
description : ' Path to the Dockerfile'
13
15
required : true
14
- default : ' dockerfiles/debian_mini '
16
+ default : ' dockerfiles/debian_kind '
15
17
16
18
IMAGE_SIZE :
17
19
type : string
18
20
description : ' Image size, 950M max'
19
21
required : true
20
- default : ' 600M '
22
+ default : ' 950M '
21
23
22
24
DEPLOY_TO_GITHUB_PAGES :
23
25
type : boolean
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ RUN curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.
21
21
22
22
RUN curl -LO https://golang.org/dl/go1.23.3.linux-386.tar.gz && \
23
23
tar -C /usr/local -xzf go1.23.3.linux-386.tar.gz && \
24
- rm go1.23.3.linux-386.tar.gz && \
25
- go install sigs.k8s.io/
[email protected]
24
+ rm go1.23.3.linux-386.tar.gz
26
25
27
26
# Set up Go environment variables
28
27
ENV PATH="/usr/local/go/bin:${PATH}"
29
28
ENV GOPATH="/home/user/go"
30
29
ENV PATH="${GOPATH}/bin:${PATH}"
30
+ RUN go install sigs.k8s.io/
[email protected]
31
31
32
32
RUN useradd -m user && echo "user:password" | chpasswd && usermod -aG docker user
33
33
# Ensure Docker can be run as a non-root user
You can’t perform that action at this time.
0 commit comments