mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-08 00:41:14 -04:00
Update BuildImage.yml
This commit is contained in:
@@ -39,14 +39,10 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
|
||||||
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) && env.CR_USER && env.CR_PAT }}
|
|
||||||
run: |
|
|
||||||
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
|
|
||||||
|
|
||||||
- name: Push tags to GitHub Container Registry
|
- name: Push tags to GitHub Container Registry
|
||||||
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) && env.CR_USER && env.CR_PAT }}
|
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) && env.CR_USER && env.CR_PAT }}
|
||||||
run: |
|
run: |
|
||||||
|
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
|
||||||
docker push ghcr.io/${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${{ github.sha }}
|
docker push ghcr.io/${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${{ github.sha }}
|
||||||
docker push ghcr.io/${ENDPOINT}:${BASEIMAGE}-${MODNAME}
|
docker push ghcr.io/${ENDPOINT}:${BASEIMAGE}-${MODNAME}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user