-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (51 loc) · 1.74 KB
/
publish_sha.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
51
52
53
54
name: Publish SHA
on:
push:
branches:
- master
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
required: false
description: 'Publish SHA'
jobs:
build:
name: Publish SHA
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v11
- name: Build Assembly
run: sbt clean assembly
- name: Publish etl-cqdg-portal Image using commit sha and timestamp
id: publish-etl-cqdg-portal-image
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/etl-cqdg-portal
tag_format: "{sha}-{timestamp}"
- name: Publish fhavro-export Image using commit sha and timestamp
id: publish-fhavro-export-image
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/fhavro-export
tag_format: "{sha}-{timestamp}"
location: fhavro-export
dockerfile: fhavro-export/Dockerfile
- name: Publish publish-task Image using commit sha and timestamp
id: publish-etl-image
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/cqdg-etl-publish
tag_format: "{sha}-{timestamp}"
location: publish-task
dockerfile: publish-task/Dockerfile