Skip to content

bug fix

bug fix #7

Workflow file for this run

name: Build and Push Docker Image to GHCR
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the code
- name: Checkout code
uses: actions/checkout@v4
# Step 2: Log in to GitHub Container Registry
- name: Log in to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Step 3: Build and Push
- name: Build and Push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/humam-kourani/powl:latest
labels: |
org.opencontainers.image.source=https://github.com/${{ github.repository }}