Use DOCKER_REGISTRY secret for stable tagging
Some checks failed
Build and Push Sandbox Base Image / build (push) Failing after 2m4s
Some checks failed
Build and Push Sandbox Base Image / build (push) Failing after 2m4s
This commit is contained in:
@@ -46,5 +46,5 @@ jobs:
|
||||
- name: Tag and push stable (main only)
|
||||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
||||
run: |
|
||||
docker tag git.danhenry.dev:5050/TheLab/sandbox-base-image:${{ github.sha }} git.danhenry.dev:5050/TheLab/sandbox-base-image:stable
|
||||
docker push git.danhenry.dev:5050/TheLab/sandbox-base-image:stable
|
||||
docker tag ${{ secrets.DOCKER_REGISTRY }}/TheLab/sandbox-base-image:${{ github.sha }} ${{ secrets.DOCKER_REGISTRY }}/TheLab/sandbox-base-image:stable
|
||||
docker push ${{ secrets.DOCKER_REGISTRY }}/TheLab/sandbox-base-image:stable
|
||||
|
||||
Reference in New Issue
Block a user