mirror of
https://github.com/RetroDECK/retrodeck-builder.git
synced 2024-11-21 21:55:38 +00:00
Fixing repository and registry name
This commit is contained in:
parent
5068bcacc1
commit
1532561b56
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
- "Dockerfile" # Trigger only when the Dockerfile is modified
|
- "Dockerfile" # Trigger only when the Dockerfile is modified
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: ghcr.io/${{ github.repository }}:${{ github.sha }} # Image name with SHA tag
|
IMAGE_NAME: ghcr.io/retrodeck-builder:${{ github.sha }} # Image name with SHA tag
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
@ -34,5 +34,5 @@ jobs:
|
||||||
- name: Tag as Latest (optional)
|
- name: Tag as Latest (optional)
|
||||||
if: github.ref == 'refs/heads/main' # Only tag as 'latest' on the main branch
|
if: github.ref == 'refs/heads/main' # Only tag as 'latest' on the main branch
|
||||||
run: |
|
run: |
|
||||||
docker tag $IMAGE_NAME ghcr.io/${{ github.repository }}:latest
|
docker tag $IMAGE_NAME ghcr.io/retrodeck:latest
|
||||||
docker push ghcr.io/${{ github.repository }}:latest
|
docker push ghcr.io/retrodeck:latest
|
||||||
|
|
Loading…
Reference in a new issue