This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
Merge pull request #16 from OHMORIYUSUKE/feat/omori #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: ~ | |
env: | |
IMAGE: ghcr.io/yumemi-inc/daigirin-tbf16 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login | |
run: echo '${{ github.token }}' | docker login ghcr.io -u $ --password-stdin | |
- name: Build & Push | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
platforms: linux/amd64,linux/arm64 | |
tags: ${{ ENV.IMAGE }}:latest |