Merge pull request #83 from Gregor-Mendel-Institute/development #24
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: Podman build | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
env: | |
REGISTRY_USER: treeringgenomics | |
IMAGE_REGISTRY: quay.io | |
REGISTRY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
jobs: | |
push_to_registry: | |
name: Container | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Log in to quay.io | |
uses: redhat-actions/podman-login@v1 | |
with: | |
username: ${{ env.REGISTRY_USER }} | |
password: ${{ env.REGISTRY_PASSWORD }} | |
registry: ${{ env.IMAGE_REGISTRY }} | |
- name: Build container | |
run: podman build --format docker --tag treeringgenomics/image-processing CoreProcessingPipelineScripts/CNN/Mask_RCNN | |
- name: Push container | |
run: podman push treeringgenomics/image-processing docker://quay.io/treeringgenomics/image-processing:${GITHUB_REF##*/} |