diff --git a/.gitea/workflows/release-tag.yml b/.gitea/workflows/release-tag.yml index 7fdc180..69e5254 100644 --- a/.gitea/workflows/release-tag.yml +++ b/.gitea/workflows/release-tag.yml @@ -27,4 +27,4 @@ jobs: registry: git.kocoder.xyz username: ${{ secrets.CI_RUNNER_USER }} password: ${{ secrets.CI_RUNNER_TOKEN }} - build_file: DOCKERFILE + build_file: Dockerfile diff --git a/DOCKERFILE b/Dockerfile similarity index 95% rename from DOCKERFILE rename to Dockerfile index 86bb026..f5fd685 100644 --- a/DOCKERFILE +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM golang:1.21.0 +FROM golang:1.23.0 # Set destination for COPY WORKDIR /app @@ -11,7 +11,7 @@ RUN go mod download # Copy the source code. Note the slash at the end, as explained in # https://docs.docker.com/engine/reference/builder/#copy -COPY *.go ./ +COPY ./ ./ # Build RUN CGO_ENABLED=0 GOOS=linux go build -o /szuntis-backend