From 7bcb3377fa43da3cb9e4bce5469bfb5cbeb1195f Mon Sep 17 00:00:00 2001 From: rudy Date: Wed, 4 Jan 2023 15:05:02 +0100 Subject: [PATCH] fix(ci): docker build, no ssh forward for hpx and cuda --- .github/workflows/continuous-integration.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4bbaf57b5..8f6600dc4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -735,17 +735,10 @@ jobs: if: contains(steps.changed-files.outputs.modified_files, 'builders/Dockerfile.hpx-env') || contains(steps.changed-files.outputs.modified_files, env.THIS_FILE) run: echo "${{ secrets.GHCR_PASSWORD }}" | docker login -u ${{ secrets.GHCR_LOGIN }} --password-stdin ghcr.io - - name: Set up ssh auth in docker - run: | - echo "SSH_AUTH_SOCK_DIR=$(dirname $SSH_AUTH_SOCK)" >> "${GITHUB_ENV}" - - name: Build Tag and Publish if: ${{ steps.login.conclusion != 'skipped' }} - run: - docker build \ - -v ${{ env.SSH_AUTH_SOCK }}:/ssh.socket \ - -e SSH_AUTH_SOCK=/ssh.socket \ - -t "${IMAGE}" -f builders/Dockerfile.hpx-env . + run: | + docker build -t "${IMAGE}" -f builders/Dockerfile.hpx-env . docker push "${IMAGE}:latest" - name: Is Image Built @@ -778,10 +771,7 @@ jobs: - name: Build Tag and Publish if: ${{ steps.login.conclusion != 'skipped' }} run: | - docker build \ - -v ${{ env.SSH_AUTH_SOCK }}:/ssh.socket \ - -e SSH_AUTH_SOCK=/ssh.socket \ - -t "${IMAGE}" -f builders/Dockerfile.cuda-env . + docker build -t "${IMAGE}" -f builders/Dockerfile.cuda-env . docker image tag "${IMAGE}" "${IMAGE}:${TAG}" docker push "${IMAGE}:latest" docker push "${IMAGE}:${TAG}"