-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (34 loc) · 1.12 KB
/
release.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
name: Release Docker images
on:
push:
tags:
- '*'
jobs:
kaniko:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build proxy
uses: aevea/[email protected]
with:
registry: harbor.clyso.com
username: "${{ secrets.DOCKER_USER }}"
password: ${{ secrets.DOCKER_PASSWORD }}
image: chorus/proxy
build_file: Dockerfile.proxy
tag: ${{ github.ref_name }}
strip_tag_prefix: v
tag_with_latest: true
extra_args: "--build-arg GIT_TAG=${{ github.ref_name }} --build-arg GIT_COMMIT=${{ github.sha }}"
- name: build worker
uses: aevea/[email protected]
with:
registry: harbor.clyso.com
username: "${{ secrets.DOCKER_USER }}"
password: ${{ secrets.DOCKER_PASSWORD }}
image: chorus/worker
build_file: Dockerfile.worker
tag: ${{ github.ref_name }}
strip_tag_prefix: v
tag_with_latest: true
extra_args: "--build-arg GIT_TAG=${{ github.ref_name }} --build-arg GIT_COMMIT=${{ github.sha }}"