Skip to content

Merge pull request #5 from amnezia-vpn/fix_4 #2

Merge pull request #5 from amnezia-vpn/fix_4

Merge pull request #5 from amnezia-vpn/fix_4 #2

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
run: |
make docker
env:
DOCKER_IMAGE: ghcr.io/${{ github.repository }}
DOCKER_USER: ${{ github.actor }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}