diff options
author | 2020-11-19 00:49:40 +0100 | |
---|---|---|
committer | 2020-11-19 00:49:40 +0100 | |
commit | 2c17c3d6e752494573b77c71abf1cd8b461a7a81 (patch) | |
tree | ad9f2aad5cda66e7cc36f8e219f4a929c66510f4 /scripts/dev.sh | |
parent | Merge pull request #78 - Update to Python 3.9 (diff) | |
parent | Fix Dockerfile paths & revert error in Dockerfile (diff) |
Merge pull request #79 from python-discord/sebastiaan/backend/migrate-ci-to-github-actions
Migrate to GitHub Actions and GitHub Container Registry
Diffstat (limited to 'scripts/dev.sh')
-rwxr-xr-x | scripts/dev.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh index 408ce2e..f9cd28e 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -5,12 +5,13 @@ if [ "$1" = "--build" ]; then shift - printf "Building pythondiscord/snekbox-venv:dev..." + printf "Building ghcr.io/python-discord/snekbox-venv:dev..." docker build \ - -t pythondiscord/snekbox-venv:dev \ - -f docker/venv.Dockerfile \ + -t ghcr.io/python-discord/snekbox-venv:dev \ + -f Dockerfile \ --build-arg DEV=1 \ + --target venv \ -q \ . \ >/dev/null \ @@ -46,7 +47,7 @@ docker run \ --volume "${PWD}":"${PWD}" \ --workdir "${PWD}"\ --entrypoint /bin/bash \ - pythondiscord/snekbox-venv:dev \ + ghcr.io/python-discord/snekbox-venv:dev \ >/dev/null \ # Execute the given command(s) |