docker-postgres/.github/workflows/main.yaml
Renovate Bot a889614ed8
All checks were successful
Main / build (push) Successful in -3m8s
chore(deps): update docker/setup-qemu-action action to v3
2023-10-21 19:37:17 +00:00

41 lines
902 B
YAML

name: Main
on:
push:
branches:
- master
env:
REGISTRY_NAME: container.localdomain:5000
jobs:
build:
runs-on: docker
container:
image: catthehacker/ubuntu:act-22.04
steps:
- uses: RouxAntoine/checkout@v3.5.4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.0.0
with:
config-inline: |
[registry."${{ env.REGISTRY_NAME }}"]
http = true
- name: Build and push
uses: docker/build-push-action@v5
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
with:
context: .
push: true
tags: ${{ env.REGISTRY_NAME }}/postgres:latest
platforms: |
linux/arm/v6
linux/amd64
linux/arm64