Skip to content

Commit

Permalink
Update workflow with correct image name
Browse files Browse the repository at this point in the history
  • Loading branch information
oznav2 committed Sep 15, 2024
1 parent 3e89f66 commit 15bda5f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: oznav2/ilan-open-webui

jobs:
build-and-push:
Expand All @@ -29,6 +29,16 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Check GitHub Container Registry authentication
run: |
echo ${{ secrets.MY_GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
if [ $? -eq 0 ]; then
echo "Successfully authenticated with ghcr.io"
else
echo "Failed to authenticate with ghcr.io"
exit 1
fi
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 15bda5f

Please sign in to comment.