Skip to content

module fixes

module fixes #6

Workflow file for this run

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