From 2ca58b015cb96a7ecc74ab2e32fcd225e23aa69d Mon Sep 17 00:00:00 2001 From: Menna Tullah Magdy Taha Date: Tue, 23 Apr 2024 11:34:45 +0200 Subject: [PATCH] Changing the workflow on main to workflow_dispatch to allow manual testing --- .github/workflows/create-image.yml | 36 ------------------------------ 1 file changed, 36 deletions(-) diff --git a/.github/workflows/create-image.yml b/.github/workflows/create-image.yml index f65d66a..44d3a50 100644 --- a/.github/workflows/create-image.yml +++ b/.github/workflows/create-image.yml @@ -3,39 +3,3 @@ name: "initial-image-build-workflow" on: # Trigger a specific workflow run on demand without need for a code push/pull request workflow_dispatch: - # inputs: - # githubRepo: - # description: "Link of public github repo to deploy" - # required: true - -jobs: - create_docker_image: - permissions: - contents: "read" - id-token: "write" - runs-on: ubuntu-latest - defaults: - run: - shell: bash - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up Python 3.8 - run: actions/setup-python@v2 - with: - python-version: 3.8 - - - name: Install Github dependents info - run: pip install -U github-dependents-info - - - name: Check if directory exists - run: | - year=&(echo $(date '+%Y')) - if [ -d submissions${year} ]; then - echo "Directory exists" - else - echo "Directory does not exist" - fi - -# need to add export DOCKER_BUILDKIT=1 before building python docker image