forked from mayadata-io/d-operators
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1.04 KB
/
release-docker.yaml
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
---
name: Release Docker Image
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
release-docker:
name: Release docker dope image
runs-on: ubuntu-18.04
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Build push dope image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: mayadataio/dope
tag_with_ref: true
add_git_labels: true
release-docker-daction:
name: Release docker daction image
runs-on: ubuntu-18.04
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Login to DockerHub
run: cd tools/d-action
- name: Build push daction image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: mayadataio/daction
tag_with_ref: true
add_git_labels: true