From 79b214c2323afb54dcc823effe7c48274bcebb35 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 30 Jul 2024 21:20:05 +0100 Subject: [PATCH] Use latest image to create container from --- .github/workflows/deploy-staging.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index f435221da0..11e952b621 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -141,7 +141,7 @@ jobs: # Create a temporary container from the latest image echo "Building Docker image..." - OLD_CONTAINER_ID=$(docker create prosopo/js_server:$VERSION) + OLD_CONTAINER_ID=$(docker create prosopo/js_server:latest) # Remove the old js temp folder rm -rf ./js_bundles_host_temp diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ca2146dc5e..f560a7733a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -144,7 +144,7 @@ jobs: # Create a temporary container from the latest image echo "Building Docker image..." - OLD_CONTAINER_ID=$(docker create prosopo/js_server:$VERSION) + OLD_CONTAINER_ID=$(docker create prosopo/js_server:latest) # Remove the old js temp folder rm -rf ./js_bundles_host_temp