Update build.yaml and go.mod files\
Some checks failed
Actions Build Docker Image / Build-Binary (push) Failing after 8s
Actions Build Docker Image / Build-Docker-Image (push) Failing after 9s

Update user authentication logic
This commit is contained in:
Alex Borisov 2024-02-01 19:01:57 +03:00
parent a9610c054f
commit 6affab02dd
3 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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/

2
go.mod
View File

@ -1,6 +1,6 @@
module soaska.ru/soaska/MinIO-Share-S3
go 1.21.6
go 1.21
require (
github.com/gorilla/mux v1.8.1