module fixes #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docker images for dev branch | |
on: | |
push: | |
branches: [ "dev", "test_docker_deployment" ] | |
# pull_request: | |
# branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true # This ensures submodules are included | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build the Docker image for CLI | |
run: | | |
docker build -t mercury_cli . -f DockerfileCLI --tag mercury_cli:latest | |
docker tag mercury_cli:latest ghcr.io/uow-atm/mercury/mercury_cli:latest | |
docker push ghcr.io/uow-atm/mercury/mercury_cli:latest | |
- name: Build the Docker image for Notebook | |
run: | | |
docker build -t mercury_nb . -f DockerfileNotebook --tag mercury_nb:latest | |
docker tag mercury_nb:latest ghcr.io/uow-atm/mercury/mercury_nb:latest | |
docker push ghcr.io/uow-atm/mercury/mercury_nb:latest |