Skip to content

Merge pull request #1 from Loudbooks/main #1

Merge pull request #1 from Loudbooks/main

Merge pull request #1 from Loudbooks/main #1

Workflow file for this run

name: Build and Publish Docker Image
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
permissions:
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image to GHCR
uses: docker/build-push-action@v3
with:
context: ./
file: ./Dockerfile
build-args: |
COMMIT_HASH=${{ env.hash }}
push: true
tags: |
ghcr.io/person0z/zluqet:latest