wireguard-3proxy-docker/.gitea/workflows/multi-arch-docker-hub.yml
Reza Behzadan fb5080e1c8
Some checks failed
Build and Push to Gitea Artifact Registry / docker (release) Failing after 14s
Update gitea workflow to push images to gitea artifact registry
2025-01-04 17:57:29 -05:00

40 lines
1012 B
YAML

name: Multi-Arch Build
on:
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --allow-insecure-entitlement network.host
- name: Login to Private Registry
uses: docker/login-action@v3
with:
registry: dcr.behzadan.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: |
NODE_ENV=production
tags: |
dcr.behzadan.com/reza/wireguard-3proxy:latest
dcr.behzadan.com/reza/wireguard-3proxy:${{ gitea.ref_name }}