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.
1 parent 8e18c5a commit 32bbd70Copy full SHA for 32bbd70
.github/workflows/docker-build.yml
@@ -16,13 +16,15 @@ jobs:
16
uses: docker/setup-buildx-action@v3
17
-
18
name: Login to GitHub Registry
19
+ if: ${{ github.ref == 'refs/heads/main' }}
20
uses: docker/login-action@v3
21
with:
22
registry: ghcr.io
23
username: ${{ github.repository_owner }}
24
password: ${{ secrets.GITHUB_TOKEN }}
25
26
name: Login to DockerHub
27
28
29
30
username: erisamoe
@@ -36,4 +38,4 @@ jobs:
36
38
push: ${{ github.ref == 'refs/heads/main' }}
37
39
set: |
40
*.cache-from=type=gha
- *.cache-to=type=gha,mode=max
41
+ *.cache-to=type=gha,mode=max
0 commit comments