-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 937 Bytes
/
cd.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
name: CD
on:
workflow_dispatch:
release:
types: [published]
jobs:
build-and-push:
runs-on: ubuntu-latest
environment: deploy
steps:
- name: Checkout repo
id: checkout-repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,amd64'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
platforms: linux/amd64,linux/arm64
#platforms: linux/amd64,linux/arm64,darwin/amd64,darwin/arm64
tags: quay.io/castawayegr/aap-log-visualizer:latest