fix docker build, prevent wrong directory after build (#979)

This commit is contained in:
slothful-vassal
2026-05-10 19:36:36 +02:00
committed by GitHub
parent be8de33c4d
commit 868010459f

View File

@@ -43,6 +43,11 @@ jobs:
with: with:
go-version: '1.22' go-version: '1.22'
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v4 uses: docker/login-action@v4
with: with:
@@ -58,8 +63,9 @@ jobs:
run: | run: |
docker buildx build db/ --no-cache -t flomp/wanderer-db:$VERSION -t flomp/wanderer-db:latest --platform=linux/amd64,linux/arm64 --push docker buildx build db/ --no-cache -t flomp/wanderer-db:$VERSION -t flomp/wanderer-db:latest --platform=linux/amd64,linux/arm64 --push
docker buildx build web/ --no-cache -t flomp/wanderer-web:$VERSION -t flomp/wanderer-web:latest --platform=linux/amd64,linux/arm64 --push docker buildx build web/ --no-cache -t flomp/wanderer-web:$VERSION -t flomp/wanderer-web:latest --platform=linux/amd64,linux/arm64 --push
cd docs && npm ci && npm run build && cd .. npm --prefix docs ci
docker buildx build docs/ --no-cache -t flomp/wanderer-docs:$VERSION -t flomp/wanderer-docs:latest --platform=linux/amd64,linux/arm64 --push npm --prefix docs run build
docker buildx build ./docs --no-cache -t flomp/wanderer-docs:$VERSION -t flomp/wanderer-docs:latest --platform=linux/amd64,linux/arm64 --push
release: release:
needs: [publish, docker-build] needs: [publish, docker-build]
@@ -86,4 +92,4 @@ jobs:
tag_name: ${{ needs.publish.outputs.version }} tag_name: ${{ needs.publish.outputs.version }}
body: ${{ steps.changelog.outputs.changelog }} body: ${{ steps.changelog.outputs.changelog }}
draft: false draft: false
prerelease: false prerelease: false