Skip to content

Docker Image (dohfront) #68

Docker Image (dohfront)

Docker Image (dohfront) #68

name: Docker Image (dohfront)
on:
schedule:
- cron: '30 00 * * 5'
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
ghcr_publish:
runs-on: ubuntu-latest
steps:
- name: checkout
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: Log-in to registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push base
uses: docker/build-push-action@v5
with:
context: doh-server/
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ github.actor }}/doh-front:latest