Skip to content

Commit 559eb2e

Browse files
committed
disabled automated push of docker image to registry
1 parent 4e4850d commit 559eb2e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ on:
66
pull_request:
77

88
env:
9-
PUBLISH_IMAGE: ${{ (github.ref_name == 'main' || github.ref_type == 'tag') && 'TRUE' || 'FALSE'}}
9+
# disabled publishing of docker images
10+
# re-enabling requires that you create a couple of repo secrets:
11+
# - secrets.USER_FOR_REGISTRY - username of a GitHub user that is able to login to the repository's docker registry
12+
# - secrets.PAT_FOR_REGISTRY - GitHub Personal Access Token of the GitHub user that grants it access to publish
13+
# docker images in the repo registry
14+
# PUBLISH_IMAGE: ${{ (github.ref_name == 'main' || github.ref_type == 'tag') && 'TRUE' || 'FALSE'}}
15+
PUBLISH_IMAGE: false
1016
IMAGE_TAG: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }}
1117
IMAGE_NAME: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}
1218

0 commit comments

Comments
 (0)