Skip to content

Merge pull request #1125 from traPtitech/main #46

Merge pull request #1125 from traPtitech/main

Merge pull request #1125 from traPtitech/main #46

Workflow file for this run

name: Release
on:
push:
branches:
- release
env:
IMAGE_NAME: anke-to
jobs:
image:
name: Build Docker Image
runs-on: ubuntu-latest
steps:
- 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 GitHub Docker Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: traPtitech
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/traptitech/${{ env.IMAGE_NAME }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max