diff --git a/.github/workflows/docker-reusable.yaml b/.github/workflows/docker-reusable.yaml index 4934480..122a8ae 100644 --- a/.github/workflows/docker-reusable.yaml +++ b/.github/workflows/docker-reusable.yaml @@ -72,12 +72,12 @@ jobs: id: build uses: docker/build-push-action@v5 with: - build-args: | - GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} - ${{ inputs.build-args }} + build-args: ${{ inputs.build-args }} context: ${{ inputs.path }} push: ${{ inputs.push }} platforms: ${{ inputs.qemu && 'linux/amd64,linux/arm64' || 'linux/amd64' }} + secret-envs: | + GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} tags: ${{ inputs.tags || env.DEFAULT_TAGS }} - name: Image Digest