-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (28 loc) · 906 Bytes
/
Copy pathcontainer.yml
File metadata and controls
34 lines (28 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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##*/}