Fix github actions docker image workflow

This commit is contained in:
doctorpangloss 2025-02-06 09:48:41 -08:00
parent f4647a03e7
commit 49fcfaedce

View File

@ -5,8 +5,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ toLowerCase(github.repository) }}
jobs:
build:
runs-on: ubuntu-latest
@ -16,16 +15,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
- uses: docker/build-push-action@v5
with:
context: .
push: true