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 e453f8c commit 0d8d505Copy full SHA for 0d8d505
.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