From: Luca Heltai Date: Mon, 25 Jan 2021 12:10:14 +0000 (+0100) Subject: Second try. X-Git-Tag: v9.3.0-rc1~572^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11619%2Fhead;p=dealii.git Second try. --- diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1ef1706de7..efb1ce8b46 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -8,16 +8,25 @@ jobs: build-master-docker: runs-on: ubuntu-latest steps: - - name: Checkout + - + name: Checkout code uses: actions/checkout@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push Docker image of master uses: docker/build-push-action@v2 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - cache_froms: dealii/dependencies:focal + context: ./contrib/docker/ + cache_froms: type=registry,ref=dealii/dependencies:focal repository: dealii/dealii + cache-to: type=inline add_git_labels: true tags: master-focal - path: ./contrib/docker