-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (38 loc) · 1.25 KB
/
build.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
name: Docker Build
on:
release:
types: [created]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Docker Setup QEMU
uses: docker/[email protected]
- name: Docker Setup Buildx
uses: docker/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
rofrano/pipeline-selenium:latest
rofrano/pipeline-selenium:${{ github.event.release.tag_name }}
- name: Quay.io Login
uses: docker/[email protected]
with:
username: ${{ secrets.QUAYIO_USERNAME }}
password: ${{ secrets.QUAYIO_TOKEN }}
- name: Build and push Quay.io images
uses: docker/[email protected]
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
quay.io/rofrano/pipeline-selenium:latest
quay.io/rofrano/pipeline-selenium:${{ github.event.release.tag_name }}