From c782ae2a115b5965b70ff17c766531b08c4a896b Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Sat, 17 Feb 2024 22:16:51 -0300 Subject: [PATCH] Update Docker workflow --- .github/workflows/Docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Docker.yml b/.github/workflows/Docker.yml index 10053232..2e571306 100644 --- a/.github/workflows/Docker.yml +++ b/.github/workflows/Docker.yml @@ -18,8 +18,7 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} env: - IMAGES: | - ${{ vars.DOCKERHUB_REPOSITORY || github.repository }} + IMAGES: ${{ vars.DOCKERHUB_REPOSITORY || github.repository }} jobs: docker: runs-on: ubuntu-latest @@ -54,4 +53,6 @@ jobs: labels: ${{ steps.meta.outputs.labels }} build-args: | # Julia's Pkg expects a Git repository BUILDKIT_CONTEXT_KEEP_GIT_DIR=true + cache-from: type=gha + cache-to: type=gha,mode=max push: ${{ github.event_name == 'push' }}