Update build.yaml and go.mod files\
Update user authentication logic
This commit is contained in:
parent
a9610c054f
commit
6affab02dd
@ -40,9 +40,9 @@ jobs:
|
||||
runs-on: soaska
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- name: Install Node.js
|
||||
- name: Install Node.js and curl
|
||||
run: |
|
||||
apk add --no-cache nodejs
|
||||
apk add --no-cache nodejs curl
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: List files in the repository
|
||||
|
@ -7,8 +7,6 @@ RUN go mod download
|
||||
|
||||
COPY *.go /app/
|
||||
|
||||
## RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
|
||||
|
||||
# Stage 2: Use a slim image for the runnable container
|
||||
FROM alpine as runtime
|
||||
WORKDIR /root/
|
||||
|
Loading…
Reference in New Issue
Block a user