multiqc_config as parameter, plus small fixes #17
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: Pandas custom image to GitHub Container Registry | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "containers/pandas-scibioxl/*" | |
workflow_dispatch: | |
env: | |
REGISTRY: ghcr.io | |
IMAGE: ${{ github.repository }}/pandas-scibioxl | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Repository | |
uses: actions/checkout@v3 | |
- name: Log into Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GH_TOKEN }} | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Get current date (for tag) | |
id: getdate | |
run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v4 | |
with: | |
context: ./containers/pandas-scibioxl/ | |
push: true | |
tags: | | |
${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.getdate.outputs.date }} | |
${{ env.REGISTRY }}/${{ env.IMAGE }}:latest | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} |