Restrict pushing tags to only meeb
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -198,7 +198,7 @@ jobs:
|
|||||||
DOCKER_TOKEN: ${{ 'meeb' == github.repository_owner && secrets.REGISTRY_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
|
DOCKER_TOKEN: ${{ 'meeb' == github.repository_owner && secrets.REGISTRY_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
run: echo "${DOCKER_TOKEN}" | docker login --password-stdin --username "${DOCKER_USERNAME}" "${DOCKER_REGISTRY}"
|
run: echo "${DOCKER_TOKEN}" | docker login --password-stdin --username "${DOCKER_USERNAME}" "${DOCKER_REGISTRY}"
|
||||||
- name: Push missing release tags
|
- name: Push missing release tags
|
||||||
if: ${{ github.actor == github.repository_owner && '' != needs.info.outputs.missing-tags }}
|
if: ${{ 'meeb' == github.actor && github.actor == github.repository_owner && '' != needs.info.outputs.missing-tags }}
|
||||||
run: |
|
run: |
|
||||||
missing='${{ needs.info.outputs.missing-tags }}'
|
missing='${{ needs.info.outputs.missing-tags }}'
|
||||||
image='${{ needs.info.outputs.missing-tags-image }}'
|
image='${{ needs.info.outputs.missing-tags-image }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user