Compare commits

..

No commits in common. "b548de87b29c897acf20931ddfe42d9dd9bf4ce7" and "c2681de7847fc206d4c855c0f6b7702489d4acc6" have entirely different histories.

2 changed files with 2 additions and 45 deletions

View File

@ -1,7 +1,8 @@
name: Build and Publish Docker Image (Multi-Arch)
on:
workflow_dispatch:
release:
types: [published]
env:
IMAGE_NAME: rbehzadan/wireguard-3proxy

View File

@ -1,44 +0,0 @@
name: Build and Publish Docker Image (Multi-Arch)
on:
release:
types: [published]
env:
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/wireguard-3proxy
IMAGE_TAG: ${{ github.event.release.tag_name }}
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
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
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}