-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.64 KB
/
publish_with_latest.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Publish Image Using latest
on:
push:
branches:
- main
jobs:
push:
name: Publish Image using latest tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push the image on the registry
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/nextflow
location: containers/nextflow
dockerfile: containers/nextflow/Dockerfile
tag_format: "latest"
push-exomiser:
name: Publish Exomiser Image using latest tags
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push the image on the registry
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/exomiser
location: containers/exomiser
dockerfile: containers/exomiser/Dockerfile
tag_format: "latest"
push-exomiser-13:
name: Publish Exomiser 13.1.0 Image using latest tags
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push the image on the registry
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/exomiser
location: containers/exomiser-13
dockerfile: containers/exomiser-13/Dockerfile
tag_format: "13.1.0-latest"