From ea6c28c01e3d6331ad88e3e21d0b220cf044464b Mon Sep 17 00:00:00 2001 From: Rouel Joseph Soberano Date: Mon, 29 Jul 2024 15:50:28 -0700 Subject: [PATCH 1/3] build: updating docker provenance generator to use repo vars/secrets for docker registry access --- .github/workflows/manual-publish.yml | 4 ++-- .github/workflows/release-please.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/manual-publish.yml index 5db84831..ade52f7a 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/manual-publish.yml @@ -74,6 +74,6 @@ jobs: with: image: ${{ matrix.image }} digest: ${{ matrix.digest }} - registry-username: ${{ github.actor }} + registry-username: ${{ vars.DOCKER_USERNAME }} secrets: - registry-password: ${{ secrets.GITHUB_TOKEN }} + registry-password: ${{ secrets.DOCKER_TOKEN }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index c5d026e2..4f8c2c5f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -81,6 +81,6 @@ jobs: with: image: ${{ matrix.images_and_digests.image }} digest: ${{ matrix.images_and_digests.digest }} - registry-username: ${{ github.actor }} + registry-username: ${{ vars.DOCKER_USERNAME }} secrets: - registry-password: ${{ secrets.GITHUB_TOKEN }} + registry-password: ${{ secrets.DOCKER_TOKEN }} \ No newline at end of file From aa39f03ff52d57ee5a03ec137053a0dc309617e9 Mon Sep 17 00:00:00 2001 From: Rouel Joseph Soberano Date: Mon, 29 Jul 2024 15:51:22 -0700 Subject: [PATCH 2/3] build: formatting --- .github/workflows/release-please.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 4f8c2c5f..3954dab7 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -83,4 +83,4 @@ jobs: digest: ${{ matrix.images_and_digests.digest }} registry-username: ${{ vars.DOCKER_USERNAME }} secrets: - registry-password: ${{ secrets.DOCKER_TOKEN }} \ No newline at end of file + registry-password: ${{ secrets.DOCKER_TOKEN }} From 09bee5a85ff232b7a758f7560a0167381186f2ad Mon Sep 17 00:00:00 2001 From: Rouel Joseph Soberano Date: Mon, 5 Aug 2024 14:44:19 -0700 Subject: [PATCH 3/3] build: adding missing newline --- .github/workflows/release-please.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 3954dab7..7837160f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -84,3 +84,4 @@ jobs: registry-username: ${{ vars.DOCKER_USERNAME }} secrets: registry-password: ${{ secrets.DOCKER_TOKEN }} +