docker fix
All checks were successful
build and deploy kleinTodo / build (push) Successful in 12s

This commit is contained in:
Darius klein 2025-08-23 20:19:26 +02:00
parent bc26a51c01
commit 673d56903d
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build -t gitea.kleinsense.nl/dariusklein/klein_todo:latest ./server/.
run: docker build -t gitea.kleinsense.nl/dariusklein/klein_todo:latest -f server/Dockerfile .
- name: Docker login
run: docker login gitea.kleinsense.nl -p ${{secrets.docker_password}} -u ${{secrets.docker_username}}
- name: Docker push

View File

@ -1,5 +1,5 @@
# Use an official Golang runtime as a parent image
FROM golang:latest as build
FROM golang:latest AS build
# Set the working directory to /app
WORKDIR /app