Skip to content

CD

CD #102

Workflow file for this run

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