Skip to content

Commit 6aee644

Browse files
committed
fix docker build issue
1 parent f65a4c1 commit 6aee644

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
2424
run: |
2525
echo "Building and pushing docker image"
26-
docker build -t $DOCKER_USERNAME/autoplan-python:latest .
26+
docker buildx build --platform=linux/amd64 -t $DOCKER_USERNAME/autoplan-python:latest .
2727
docker push $DOCKER_USERNAME/autoplan-python:latest
2828
2929
- name: Deploy to DigitalOcean

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ RUN apt-get update && apt-get install -y \
1010
&& rm -rf /var/lib/apt/lists/*
1111

1212
# Download ODA File Converter AppImage (replace with the latest version)
13+
# RUN wget -O /tmp/ODAFileConverter.AppImage \
14+
# https://www.opendesign.com/guestfiles/get?filename=ODAFileConverter_QT6_lnxX64_8.3dll_26.8.AppImage
15+
1316
RUN wget -O /tmp/ODAFileConverter.AppImage \
14-
https://www.opendesign.com/guestfiles/get?filename=ODAFileConverter_QT6_lnxX64_8.3dll_26.8.AppImage
17+
https://s3.us-east-2.amazonaws.com/tendar.co/ODAFileConverter_QT6_lnxX64_8.3dll_26.10.AppImage
18+
1519

1620
# Extract AppImage (avoids FUSE)
1721
RUN chmod +x /tmp/ODAFileConverter.AppImage \

0 commit comments

Comments
 (0)