See confluence page for latest instructions.
-
If the token you created when you first pulled the dev-container has read AND write permissions for packages, skip to step 4.
-
Create a personal access token with read AND write permissions for packages.
-
Login using the token you've just created by running:
docker login ghcr.io -u <your_github_username> -p <your token>
-
Navigate to the
stafl-devcontainer
folder in your host machine (do not do this within your container, it has to be through your host machine whether it's in Windows, WSL, or MacOS) and open a terminal inside thestafl-devcontainer
folder -
From the
stafl-devcontainer
folder, run:
docker build -t ghcr.io/staflsystems/stafl-devcontainer-ci .
(this will take 10+ minutes) -
To publish the new image run:
docker push ghcr.io/staflsystems/stafl-devcontainer-ci:latest
(Use a wired ethernet connection for a faster upload)
-
Make sure your personal access token has package read access (if you followed the setup steps, it should already have it).
-
Navigate to the
stafl-devcontainer
folder in your host machine (do not do this within your container, it has to be through your host machine whether it's in Windows, WSL, or MacOS) and open a terminal inside thestafl-devcontainer
folder -
From the
stafl-devcontainer
folder, run:
docker pull ghcr.io/staflsystems/stafl-devcontainer-ci:latest
(This may take a few minutes. Use a wired ethernet connection for a faster download)