Skip to content

Commit 467112f

Browse files
committed
adding go
1 parent d5e92cc commit 467112f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Deploy
33
# Define when the workflow should run
44
on:
55
# Allow manual triggering of the workflow from the Actions tab
6+
braches:
7+
- features/db
68
workflow_dispatch:
79

810
# Allow inputs to be passed when manually triggering the workflow from the Actions tab
@@ -11,13 +13,13 @@ on:
1113
type: string
1214
description: 'Path to the Dockerfile'
1315
required: true
14-
default: 'dockerfiles/debian_mini'
16+
default: 'dockerfiles/debian_kind'
1517

1618
IMAGE_SIZE:
1719
type: string
1820
description: 'Image size, 950M max'
1921
required: true
20-
default: '600M'
22+
default: '950M'
2123

2224
DEPLOY_TO_GITHUB_PAGES:
2325
type: boolean

dockerfiles/debian_kind

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ RUN curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.
2121

2222
RUN curl -LO https://golang.org/dl/go1.23.3.linux-386.tar.gz && \
2323
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
2625

2726
# Set up Go environment variables
2827
ENV PATH="/usr/local/go/bin:${PATH}"
2928
ENV GOPATH="/home/user/go"
3029
ENV PATH="${GOPATH}/bin:${PATH}"
30+
RUN go install sigs.k8s.io/[email protected]
3131

3232
RUN useradd -m user && echo "user:password" | chpasswd && usermod -aG docker user
3333
# Ensure Docker can be run as a non-root user

0 commit comments

Comments
 (0)