Merge pull request #260 from lnis-uofu/gg_ci_cd_dev
[CI/CD] Skipped container login if branch is not master
This commit is contained in:
commit
e6d1ac4a58
|
@ -181,6 +181,7 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to GitHub Container Registry
|
||||
if: ${{ github.ref == 'refs/heads/master' || needs.change_detect.outputs.force_upload }}
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
|
|
Loading…
Reference in New Issue