From c6392b540494747331441816103780711f53ed0b Mon Sep 17 00:00:00 2001 From: Tom White Date: Fri, 15 Mar 2024 10:44:23 +0000 Subject: [PATCH] Delete existing Lithops image before rebuilding Don't run on pull requests --- .github/workflows/lithops-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lithops-images.yml b/.github/workflows/lithops-images.yml index 18288c0b..69ce4f79 100644 --- a/.github/workflows/lithops-images.yml +++ b/.github/workflows/lithops-images.yml @@ -1,7 +1,6 @@ name: Lithops images on: - pull_request: push: branches: - main @@ -82,5 +81,6 @@ jobs: env: LITHOPS_CONFIG_FILE: ${{ github.workspace }}/${{ matrix.lithops-config }} run: | + lithops runtime delete -b ${{ matrix.lithops-backend }} -d cubed-runtime-main lithops runtime build -b ${{ matrix.lithops-backend }} -f ${{ matrix.lithops-build-file }} cubed-runtime-main lithops runtime deploy -b ${{ matrix.lithops-backend }} --memory ${{ matrix.lithops-memory }} cubed-runtime-main