Skip to content

Merge pull request #67 from kmc-jp/dependabot/npm_and_yarn/eslint-8.57.0 #6

Merge pull request #67 from kmc-jp/dependabot/npm_and_yarn/eslint-8.57.0

Merge pull request #67 from kmc-jp/dependabot/npm_and_yarn/eslint-8.57.0 #6

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- trunk
workflow_dispatch:
jobs:
ImageBuild:
name: Build Walnuts.dev Docker Image
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: walnuts1018
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
version: latest
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
push: true
context: .
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
ghcr.io/kmc-jp/reikai-log:latest
ghcr.io/kmc-jp/reikai-log:${{ github.sha }}-${{ github.run_number }}