🐳 Fix: Change Dockerfile.build WORKDIR to /build to avoid collision
This commit is contained in:
@@ -65,10 +65,9 @@ jobs:
|
||||
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
|
||||
run: >
|
||||
docker run --rm
|
||||
-v ${GITHUB_WORKSPACE}:/host-workspace
|
||||
-w /workspace
|
||||
-v ${GITHUB_WORKSPACE}:/build
|
||||
gitea.arcodange.lab/arcodange/dance-lessons-coach-build-cache:${{ steps.calc_hash.outputs.deps_hash }}
|
||||
sh -c "cp -r /host-workspace/. /workspace && ls -la && pwd && find . -name go.mod -type f 2>/dev/null"
|
||||
go generate ./pkg/server
|
||||
|
||||
- name: Save Swagger Docs Cache
|
||||
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
|
||||
|
||||
Reference in New Issue
Block a user