first commit
This commit is contained in:
parent
b028ca1d15
commit
e6bf92f1a1
@ -10,10 +10,11 @@ on:
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
# Use docker.io or ghcr.io
|
||||
REGISTRY: docker.io
|
||||
RELEASE: latest
|
||||
USER: sthopeless
|
||||
IMAGE: ${{ github.repository.split('/')[1] }}
|
||||
IMAGE: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -31,6 +32,11 @@ jobs:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
|
||||
- name: Debug: Print Repository Information
|
||||
run: |
|
||||
echo "Repository: ${{ github.repository }}" # Print the full repository name (owner/repo)
|
||||
echo "IMAGE (parsed from repo): ${{ env.IMAGE }}" # Print the value of IMAGE (expected to be full repo name)
|
||||
|
||||
- name: Docker.io repository name
|
||||
if: ${{ env.REGISTRY == 'docker.io' }}
|
||||
id: repo_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user