From f697bfe951145d35f9a236136ec91685b779ff0a Mon Sep 17 00:00:00 2001 From: "arjxn.py" Date: Thu, 28 Sep 2023 14:19:18 +0530 Subject: [PATCH] Try pushing with `build-push-action` --- .github/workflows/docker.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 478b18d541..940f2cd072 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -24,11 +24,11 @@ jobs: run: docker images - name: Build and Push Docker Image (Without Solvers) - env: - IMAGE_NAME: pybamm/pybamm:latest - run: | - docker build -t $IMAGE_NAME -f scripts/Dockerfile . - docker push $IMAGE_NAME + uses: docker/build-push-action@v5 + with: + context: . + push: true + tags: latest - name: Build and Push Docker Image (With JAX Solver) env: