Skip to content

Merge pull request #7 from esc-chula/develop #1

Merge pull request #7 from esc-chula/develop

Merge pull request #7 from esc-chula/develop #1

Workflow file for this run

name: Build Docker Image
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
run: docker build -t ghcr.io/${{ github.repository }}:latest .
- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/${{ github.repository }}:latest