Skip to content

Build Docker Image #189

Build Docker Image

Build Docker Image #189

Workflow file for this run

---
name: Build Docker Image
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }}