Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Update config.json.template #28

Update config.json.template

Update config.json.template #28

Workflow file for this run

name: publish to ghcr
on:
workflow_dispatch:
push:
branches:
- main
jobs:
push:
name: "Create build and push to GHCR"
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
buildkitd-flags: --debug
- id: string
uses: ASzc/change-string-case-action@v2
with:
string: ${{ github.repository_owner }}
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: true
tags: |
ghcr.io/${{ steps.string.outputs.lowercase }}/g5bot:latest