fix missing build-arg for local deployment

This commit is contained in:
simon 2022-10-23 10:50:16 +07:00
parent f16915be11
commit ba1c8c15c4
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -28,7 +28,7 @@ function sync_blackhole {
--exclude "db.sqlite3" \
. -e ssh "$host":tubearchivist
ssh "$host" 'docker build -t bbilly1/tubearchivist tubearchivist'
ssh "$host" 'docker build -t bbilly1/tubearchivist --build-arg TARGETPLATFORM="linux/amd64" tubearchivist'
ssh "$host" 'docker compose up -d'
}