Skip to content

remove the temporary ZJR config item #264

remove the temporary ZJR config item

remove the temporary ZJR config item #264

name: Docker Image Build
on:
push:
branches: [ "mane" ]
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref_name == 'mane' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3.2.0
with:
platforms: linux/arm64
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up ENV
id: env
run: |
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
echo "BUILD_COMMIT=$GITHUB_SHA" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v6.9.0
with:
context: .
file: ./Izzy-Moonbot/Dockerfile
push: true
tags: ghcr.io/manechat/izzy-moonbot:latest
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_COMMIT=${{ env.BUILD_COMMIT }}
platforms: linux/arm64,linux/amd64
provenance: false