From fd18ec89a2ae0f036c38ae977d3be4871a102ab5 Mon Sep 17 00:00:00 2001 From: Jackson Delahunt Date: Thu, 24 Aug 2023 21:02:05 +1000 Subject: [PATCH] tmate-dbug --- .github/workflows/build-and-publish.yml | 37 ++++++++++++++----------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index bd85883..933b2e8 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -23,23 +23,28 @@ jobs: username: ${{ env.REPOSITORY_OWNER }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and Push to GitHub Container Registry - uses: docker/build-push-action@v4 - with: - build-args: | - DESKTOP_ENVIRONMENT_USER=${{ env.REPOSITORY_OWNER }} - DESKTOP_ENVIRONMENT_GITHUB_USER=${{ env.REPOSITORY_OWNER }} - cache-from: type=gha - cache-to: type=gha,mode=max - file: docker/Dockerfile - push: true - tags: ghcr.io/${{ env.REPOSITORY_OWNER }}/desktop-environment:latest + # - name: Build and Push to GitHub Container Registry + # uses: docker/build-push-action@v4 + # with: + # build-args: | + # DESKTOP_ENVIRONMENT_USER=${{ env.REPOSITORY_OWNER }} + # DESKTOP_ENVIRONMENT_GITHUB_USER=${{ env.REPOSITORY_OWNER }} + # cache-from: type=gha + # cache-to: type=gha,mode=max + # file: docker/Dockerfile + # push: true + # tags: ghcr.io/${{ env.REPOSITORY_OWNER }}/desktop-environment:latest - - name: Run desktop environment tests - run: ./docker/scripts/test-start.sh - env: - DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.REPOSITORY_OWNER }} - continue-on-error: true + # - name: Run desktop environment tests + # run: ./docker/scripts/test-start.sh + # env: + # DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.REPOSITORY_OWNER }} + # continue-on-error: true + + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + with: + detached: true - name: Start headless desktop environment run: ./docker/scripts/headless.sh