first commit
This commit is contained in:
parent
b028ca1d15
commit
e6bf92f1a1
@ -10,10 +10,11 @@ on:
|
|||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
# Use docker.io or ghcr.io
|
||||||
REGISTRY: docker.io
|
REGISTRY: docker.io
|
||||||
RELEASE: latest
|
RELEASE: latest
|
||||||
USER: sthopeless
|
USER: sthopeless
|
||||||
IMAGE: ${{ github.repository.split('/')[1] }}
|
IMAGE: ${{ github.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -31,6 +32,11 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
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
|
- name: Docker.io repository name
|
||||||
if: ${{ env.REGISTRY == 'docker.io' }}
|
if: ${{ env.REGISTRY == 'docker.io' }}
|
||||||
id: repo_name
|
id: repo_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user