Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Publish Docker Image to GHCR
on:
push:
branches:
- main
paths:
- "**.html"
- "**.css"
- "**.js"
- Dockerfile
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/gropius-website:latest