build #17
This file contains hidden or 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: build | |
on: workflow_dispatch | |
jobs: | |
build: | |
name: Build the image | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: "Check out repo" | |
uses: actions/checkout@v4 | |
- name: "Login to GitHub Container Registry" | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: "Build egf-notebook Docker image" | |
run: | | |
docker build . \ | |
--tag ghcr.io/edinburgh-genome-foundry/egf_docker_jupyter/egf-notebook:latest \ | |
--tag ghcr.io/edinburgh-genome-foundry/egf_docker_jupyter/egf-notebook:2025.06.12 | |
- name: "Release Docker image" | |
run: | | |
docker push ghcr.io/edinburgh-genome-foundry/egf_docker_jupyter/egf-notebook:latest | |
docker push ghcr.io/edinburgh-genome-foundry/egf_docker_jupyter/egf-notebook:2025.06.12 |