mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix default branch check in the Dokcer action
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
run: docker build -t $IMAGE_TAG --build-arg DEBUG= Telegram/build/docker/centos_env
|
||||
|
||||
- name: Push the Docker image.
|
||||
if: ${{ github.ref_name == github.repository.default_branch }}
|
||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
|
||||
docker push $IMAGE_TAG
|
||||
|
||||
Reference in New Issue
Block a user