Skip to content

Merge pull request #41 from cloudnautique/main #35

Merge pull request #41 from cloudnautique/main

Merge pull request #41 from cloudnautique/main #35

Workflow file for this run

name: Build and Push Docker Images on Merge
concurrency:
group: main-release
cancel-in-progress: true
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU and Docker Buildx
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to GitHub Container Registry (GHCR)
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Images
run: |
make build_and_push_images
env:
REGISTRY: "ghcr.io"
ORG: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}