From b6a3d14ee6f12b7614fcd2613abc3879a9505f8c Mon Sep 17 00:00:00 2001 From: Aurora <5505558+duggalsu@users.noreply.github.com> Date: Tue, 19 Mar 2024 02:26:55 +0530 Subject: [PATCH] fix(ci): Fixed github workflow docker build args format --- .../docker-push-audiovec-worker-staging.yml | 8 +++++-- .../docker-push-hash-worker-staging.yml | 8 +++++-- .../docker-push-vidvec-benchmark-test.yml | 8 +++++-- .../docker-push-vidvec-benchmark.yml | 8 +++++-- .../docker-push-vidvec-worker-staging.yml | 8 +++++-- .github/workflows/merge-main.yml | 24 ++++++++++++++----- .github/workflows/prod-deploy.yml | 4 +++- 7 files changed, 51 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docker-push-audiovec-worker-staging.yml b/.github/workflows/docker-push-audiovec-worker-staging.yml index 1cff25d4..594dc0f8 100644 --- a/.github/workflows/docker-push-audiovec-worker-staging.yml +++ b/.github/workflows/docker-push-audiovec-worker-staging.yml @@ -27,7 +27,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/audiovec/Dockerfile.audio_worker platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-audiovec:worker-amd64-latest @@ -37,6 +39,8 @@ jobs: context: "{{defaultContext}}:src/" file: worker/audiovec/Dockerfile.audio_worker_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-audiovec:worker-arm64-latest diff --git a/.github/workflows/docker-push-hash-worker-staging.yml b/.github/workflows/docker-push-hash-worker-staging.yml index 73519eec..b985f42c 100644 --- a/.github/workflows/docker-push-hash-worker-staging.yml +++ b/.github/workflows/docker-push-hash-worker-staging.yml @@ -27,7 +27,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/hash/Dockerfile.hash_worker platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-hash:worker-amd64-latest @@ -37,6 +39,8 @@ jobs: context: "{{defaultContext}}:src/" file: worker/hash/Dockerfile.hash_worker_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-hash:worker-arm64-latest diff --git a/.github/workflows/docker-push-vidvec-benchmark-test.yml b/.github/workflows/docker-push-vidvec-benchmark-test.yml index bc2d3718..06eb9aa2 100644 --- a/.github/workflows/docker-push-vidvec-benchmark-test.yml +++ b/.github/workflows/docker-push-vidvec-benchmark-test.yml @@ -35,7 +35,9 @@ jobs: context: "{{defaultContext}}:src/" file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:benchmark-amd64-latest-test cache-from: type=local,src=/tmp/.buildx-cache @@ -47,7 +49,9 @@ jobs: context: "{{defaultContext}}:src/" file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:benchmark-arm64-latest-test cache-from: type=local,src=/tmp/.buildx-cache diff --git a/.github/workflows/docker-push-vidvec-benchmark.yml b/.github/workflows/docker-push-vidvec-benchmark.yml index e8e311f1..04e4a875 100644 --- a/.github/workflows/docker-push-vidvec-benchmark.yml +++ b/.github/workflows/docker-push-vidvec-benchmark.yml @@ -27,7 +27,9 @@ jobs: context: "{{defaultContext}}:src/" file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:benchmark-amd64-latest @@ -37,6 +39,8 @@ jobs: context: "{{defaultContext}}:src/" file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:benchmark-arm64-latest diff --git a/.github/workflows/docker-push-vidvec-worker-staging.yml b/.github/workflows/docker-push-vidvec-worker-staging.yml index b5f49f00..8429f1ba 100644 --- a/.github/workflows/docker-push-vidvec-worker-staging.yml +++ b/.github/workflows/docker-push-vidvec-worker-staging.yml @@ -27,7 +27,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/vidvec/Dockerfile.video_worker platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:worker-amd64-latest @@ -37,6 +39,8 @@ jobs: context: "{{defaultContext}}:src/" file: worker/vidvec/Dockerfile.video_worker_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:worker-arm64-latest diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index eef10ca6..7c6d76f2 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -62,7 +62,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/vidvec/Dockerfile.video_worker platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:worker-amd64-${{ needs.release.outputs.tag }} @@ -72,7 +74,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/vidvec/Dockerfile.video_worker_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-vidvec:worker-arm64-${{ needs.release.outputs.tag }} @@ -82,7 +86,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/audiovec/Dockerfile.audio_worker platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-audiovec:worker-amd64-${{ needs.release.outputs.tag }} @@ -92,7 +98,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/audiovec/Dockerfile.audio_worker_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-audiovec:worker-arm64-${{ needs.release.outputs.tag }} @@ -102,7 +110,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/hash/Dockerfile.hash_worker platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-hash:worker-amd64-${{ needs.release.outputs.tag }} @@ -112,7 +122,9 @@ jobs: context: "{{defaultContext}}:src/" file: worker/hash/Dockerfile.hash_worker_graviton platforms: linux/arm64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-operator-hash:worker-arm64-${{ needs.release.outputs.tag }} diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index 0078006c..42b0b693 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -62,7 +62,9 @@ jobs: context: "{{defaultContext}}:src/" file: Dockerfile platforms: linux/amd64 - build-args: UID=1000, GID=1000 + build-args: | + "UID=1000" + "GID=1000" push: true tags: tattletech/feluda-server:${{ steps.vars.outputs.sha_short }}