Skip to content

fix: pushするpathの変更 #4

fix: pushするpathの変更

fix: pushするpathの変更 #4

name: Docker Build and Publish
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/midraLab/lcm-docker-image/lcm-docker-image:latest