From 9bae0d856d99799735c1b1b0fd78cdfa0f18471d Mon Sep 17 00:00:00 2001 From: hacktobeer Date: Fri, 6 Sep 2024 08:48:17 +0200 Subject: [PATCH 1/2] add ppa_track build arg to cloud build config --- docker/worker/cloudbuild.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/worker/cloudbuild.yaml b/docker/worker/cloudbuild.yaml index f39be2d58..200b1def2 100644 --- a/docker/worker/cloudbuild.yaml +++ b/docker/worker/cloudbuild.yaml @@ -8,6 +8,8 @@ steps: "us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:$TAG_NAME", "-t", "us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:latest", + "--build-arg", + "PPA_TRACK=${_PPA_TRACK}", "-f", "docker/worker/Dockerfile", ".", From c147f919ea9ba05382baaf9632183886fbf4869c Mon Sep 17 00:00:00 2001 From: hacktobeer Date: Fri, 6 Sep 2024 08:59:57 +0200 Subject: [PATCH 2/2] add latest tag --- docker/worker/cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/worker/cloudbuild.yaml b/docker/worker/cloudbuild.yaml index 200b1def2..cbd73a5d3 100644 --- a/docker/worker/cloudbuild.yaml +++ b/docker/worker/cloudbuild.yaml @@ -7,7 +7,7 @@ steps: "-t", "us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:$TAG_NAME", "-t", - "us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:latest", + "us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:${_LATEST}", "--build-arg", "PPA_TRACK=${_PPA_TRACK}", "-f", @@ -17,5 +17,5 @@ steps: timeout: 4800s timeout: 4800s images: - - us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:latest + - us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:${_LATEST} - us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker:$TAG_NAME