We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docker login
docker push
1 parent 769f499 commit 3384fadCopy full SHA for 3384fad
.github/workflows/build-and-push-docker-image.yml
@@ -22,9 +22,12 @@ jobs:
22
--build-arg BUILDKIT_INLINE_CACHE=1 \
23
--cache-from $IMAGE \
24
--tag $IMAGE
25
- - name: Push Docker image to GHCR
+ - name: Log in to GHCR
26
if: github.event_name != 'pull_request'
27
run: |
28
echo ${{ secrets.GITHUB_TOKEN }} |
29
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
30
+ - name: Push Docker image to GHCR
31
+ if: github.event_name != 'pull_request'
32
+ run: |
33
docker push $IMAGE
0 commit comments