diff --git a/.github/workflows/_docker_publish.yaml b/.github/workflows/_docker_publish.yaml index 87d21b3..b55dffb 100644 --- a/.github/workflows/_docker_publish.yaml +++ b/.github/workflows/_docker_publish.yaml @@ -60,18 +60,18 @@ jobs: btschwertfeger/kraken-infinity-grid ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - # - name: Build and push Docker images - # id: push - # uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 - # with: - # context: . - # push: true - # tags: ${{ steps.meta.outputs.tags }} - # labels: ${{ steps.meta.outputs.labels }} + - name: Build and push Docker images + id: push + uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 + with: + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} - # - name: Generate artifact attestation - # uses: actions/attest-build-provenance@v2 - # with: - # subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} - # subject-digest: ${{ steps.push.outputs.digest }} - # push-to-registry: true + - name: Generate artifact attestation + uses: actions/attest-build-provenance@v2 + with: + subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} + subject-digest: ${{ steps.push.outputs.digest }} + push-to-registry: true diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 1963bd8..2e7d0c9 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -158,5 +158,5 @@ jobs: - Test uses: ./.github/workflows/_docker_publish.yaml secrets: - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} + DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}