-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 1.06 KB
/
docker.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
---
name: docker
on:
push:
tags:
- "*"
jobs:
docker:
name: publish docker images
runs-on: ubuntu-latest
steps:
- name: Update package cache
run: sudo apt-get update
- name: Set up quemu
uses: docker/setup-qemu-action@v3
- name: Set up docker buildx
uses: docker/setup-buildx-action@v3
- name: Login to docker hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
- name: Build and push connect image
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:connect"
push: true
tags: nephelaiio/dataplane-connect:latest,nephelaiio/dataplane-connect:${{ github.ref_name }}
- name: Build and push util image
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:util"
push: true
tags: nephelaiio/dataplane-util:latest,nephelaiio/dataplane-util:${{ github.ref_name }}