Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IDmedia committed Feb 15, 2024
1 parent cff3bde commit 3baca14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ docker-build:
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- docker push $CI_REGISTRY_IMAGE:latest

# Pushing to GitHub Container Registry (ghcr.io)
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG ghcr.io/$GHCR_USERNAME/$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- docker tag $CI_REGISTRY_IMAGE:latest ghcr.io/$GHCR_USERNAME/$CI_REGISTRY_IMAGE:latest
- docker push ghcr.io/$GHCR_USERNAME/$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- docker push ghcr.io/$GHCR_USERNAME/$CI_REGISTRY_IMAGE:latest
# Tagging and Pushing to GitHub Container Registry (ghcr.io)
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG ghcr.io/$GHCR_USERNAME/hass-unraid:$CI_COMMIT_TAG
- docker tag $CI_REGISTRY_IMAGE:latest ghcr.io/$GHCR_USERNAME/hass-unraid:latest
- docker push ghcr.io/$GHCR_USERNAME/hass-unraid:$CI_COMMIT_TAG
- docker push ghcr.io/$GHCR_USERNAME/hass-unraid:latest
only:
- tags

0 comments on commit 3baca14

Please sign in to comment.