diff options
| author | Michael Peter Christen <mc@yacy.net> | 2025-06-21 19:28:24 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2025-06-21 19:28:24 +0200 |
| commit | 2866f913c6819aba6c190dfd5bd16f27557e0c62 (patch) | |
| tree | 7917e00c4b9b4aec27b9ed4bcfabb095493a4f24 | |
| parent | 5aaffec11ca8d4823e3ca3c6855b168a1ea87503 (diff) | |
try to fix push problems
| -rw-r--r-- | .github/workflows/build-docker-image.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build-docker-image.yaml b/.github/workflows/build-docker-image.yaml index 9109af0b5..9bfd21838 100644 --- a/.github/workflows/build-docker-image.yaml +++ b/.github/workflows/build-docker-image.yaml @@ -49,9 +49,9 @@ jobs: type=raw,value='{{major}}'${{ matrix.suffix }},enable=${{ startsWith(github.ref, 'refs/tags/') }} - name: Login to Docker Hub - if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: + registry: docker.io username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -64,11 +64,11 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: - # Use "Dockerfile" if matrix.tag is empty, otherwise use "Dockerfile.{tag}" + context: . file: docker/Dockerfile${{ matrix.tag != '' && format('.{0}', matrix.tag) || '' }} + push: true platforms: ${{ matrix.platforms }} - push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + provenance: false + |
