docker-haproxy-k8s/.github/workflows/main.yaml
Renovate Bot e4d3a5a82b
Some checks failed
Main / build (push) Has been cancelled
chore(deps): update rouxantoine/checkout action to v4
2024-08-26 00:05:47 +00:00

40 lines
880 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@v4.1.8
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.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 }}/haproxy-k8s:latest
platforms: |
linux/amd64
linux/arm64