We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05f8bd5 commit b7ac062Copy full SHA for b7ac062
1 file changed
.github/workflows/release.yaml
@@ -20,6 +20,7 @@ jobs:
20
env:
21
VERSION: ${{ matrix.version }}
22
ARCHS: ${{ matrix.arch }}
23
+ REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
24
name: release-${{ matrix.version }}
25
runs-on: ubuntu-latest
26
steps:
@@ -32,8 +33,14 @@ jobs:
32
33
id: buildx
34
uses: docker/setup-buildx-action@v3
35
- name: Login to Docker Hub
36
+ if: env.REGISTRY_USERNAME != ''
37
uses: docker/login-action@v3
38
with:
39
username: ${{ secrets.REGISTRY_USERNAME }}
40
password: ${{ secrets.REGISTRY_PASSWORD }}
- - run: make release
41
+ - name: Build and push
42
43
+ run: make release
44
+ - name: Build only (no push credentials)
45
+ if: env.REGISTRY_USERNAME == ''
46
+ run: make build
0 commit comments