From 537f1fa8052987493571413bf5a4e0d32bac1657 Mon Sep 17 00:00:00 2001 From: zinobias Date: Wed, 17 May 2023 17:10:22 +0200 Subject: [PATCH] Actions: Removed potential priming of the image, doesnt seem to work. --- .github/workflows/deploy.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2fb48f6..f8e61c7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,8 +47,7 @@ jobs: build: runs-on: ubuntu-latest # Image to run the worker on. - outputs: - IMAGE_URL: ${{ steps.image_name_gen.outputs.IMAGE_NAME }} + env: TAG: "ext2-webvm-base-image" # Tag of docker image. IMAGE_SIZE: '${{ github.event.inputs.IMAGE_SIZE }}' @@ -74,11 +73,11 @@ jobs: env: GH_TOKEN: ${{ github.token }} # As required by the GitHub-CLI - # Setting the IMAGE_NAME variable in the env & job outputs to __.ext2. + # Setting the IMAGE_NAME variable in GITHUB_ENV to __.ext2. - name: Generate the image_name. id: image_name_gen run: | - echo "IMAGE_NAME=$(basename ${{ github.event.inputs.DOCKERFILE_PATH }})_$(date +%Y%m%d)_${{ github.run_id }}.ext2" | tee -a $GITHUB_ENV $GITHUB_OUTPUT + echo "IMAGE_NAME=$(basename ${{ github.event.inputs.DOCKERFILE_PATH }})_$(date +%Y%m%d)_${{ github.run_id }}.ext2" >> $GITHUB_ENV # We extract the uid and gid from the uid:gid input. - run: | @@ -176,10 +175,3 @@ jobs: - name: Deploy GitHub Pages site id: deployment uses: actions/deploy-pages@v2.0.0 - - - name: Print final url as job summary - run: | - echo "| Final URL to the Github pages site |" >> $GITHUB_STEP_SUMMARY - echo "| ---------------------------------- |" >> $GITHUB_STEP_SUMMARY - echo "| ${{ steps.deployment.outputs.page_url }} |" >> $GITHUB_STEP_SUMMARY - curl --silent --output /dev/null "${{ steps.deployment.outputs.page_url }}${{ needs.build.outputs.IMAGE_URL }}"