Skip to content

Merge pull request #7 from tkw1536/dependabot/go_modules/go_modules-6… #33

Merge pull request #7 from tkw1536/dependabot/go_modules/go_modules-6…

Merge pull request #7 from tkw1536/dependabot/go_modules/go_modules-6… #33

Workflow file for this run

name: Publish Docker Image
on:
push:
branches: [main]
env:
REGISTRY: ghcr.io
IMAGE_NAME: tkw1536/akhttpd
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ env.REGISTRY }}
- uses: docker/build-push-action@v2
with:
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
platforms: ${{ env.PLATFORMS }}
pull: true
push: true