Skip to content

Commit

Permalink
Changing the workflow on main to workflow_dispatch to allow manual te…
Browse files Browse the repository at this point in the history
…sting
  • Loading branch information
alkaline-0 committed Apr 23, 2024
1 parent 02e0d00 commit 2ca58b0
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/create-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2ca58b0

Please sign in to comment.