docker-dnscrypt-proxy/.github/workflows/main.yaml

40 lines
873 B
YAML
Raw Normal View History

2023-08-19 16:19:54 +00:00
name: Main
on:
push:
branches:
- main
- 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
2023-08-19 16:19:54 +00:00
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
2023-08-19 16:19:54 +00:00
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.0
2023-08-19 16:19:54 +00:00
with:
config-inline: |
[registry."${{ env.REGISTRY_NAME }}"]
http = true
- name: Build and push
uses: docker/build-push-action@v6
2023-08-19 16:19:54 +00:00
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
with:
context: .
push: true
tags: ${{ env.REGISTRY_NAME }}/dnscrypt-proxy:latest
platforms: |
linux/arm/v6