From 488d1e330f077a55db8da8a630a8589294f128a4 Mon Sep 17 00:00:00 2001 From: Alan Forbes Date: Mon, 20 Jan 2025 15:23:26 +0000 Subject: [PATCH 1/6] add PR trigger for images --- .github/workflows/publish_docker_images.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_docker_images.yml b/.github/workflows/publish_docker_images.yml index ad6940ce1..b5342d0f3 100644 --- a/.github/workflows/publish_docker_images.yml +++ b/.github/workflows/publish_docker_images.yml @@ -1,9 +1,10 @@ name: publish docker images on: - push: - branches: - - main + #push: + # branches: + # - main + pull_request: paths: - '.github/workflows/publish_docker_images.yml' - '.github/dockerfiles/**' From be3b5a269d8448bd5c6da2705871bcb6ec230062 Mon Sep 17 00:00:00 2001 From: Alan Forbes Date: Mon, 20 Jan 2025 15:33:20 +0000 Subject: [PATCH 2/6] update action name --- .github/workflows/publish_docker_images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_docker_images.yml b/.github/workflows/publish_docker_images.yml index b5342d0f3..2b031b88b 100644 --- a/.github/workflows/publish_docker_images.yml +++ b/.github/workflows/publish_docker_images.yml @@ -1,4 +1,4 @@ -name: publish docker images +name: publish docker images test on: #push: From 28127987f81d672cc72f53084dbec504ef1a02b1 Mon Sep 17 00:00:00 2001 From: Alan Forbes Date: Mon, 20 Jan 2025 16:07:32 +0000 Subject: [PATCH 3/6] write-all --- .github/workflows/publish_docker_images.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_docker_images.yml b/.github/workflows/publish_docker_images.yml index 2b031b88b..f1df3e9f1 100644 --- a/.github/workflows/publish_docker_images.yml +++ b/.github/workflows/publish_docker_images.yml @@ -13,11 +13,11 @@ jobs: publish-docker-images: runs-on: ubuntu-latest - permissions: - contents: read - packages: write - attestations: write - id-token: write + permissions: write-all + #contents: read + #packages: write + #attestations: write + #id-token: write env: REGISTRY: ghcr.io/uxlfoundation steps: From a01bf5b992927a5ca375b4ad5af47f9a8a1836ac Mon Sep 17 00:00:00 2001 From: Alan Forbes Date: Mon, 20 Jan 2025 17:05:39 +0000 Subject: [PATCH 4/6] test run --- .github/workflows/publish_docker_images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_docker_images.yml b/.github/workflows/publish_docker_images.yml index f1df3e9f1..4584524fc 100644 --- a/.github/workflows/publish_docker_images.yml +++ b/.github/workflows/publish_docker_images.yml @@ -1,4 +1,4 @@ -name: publish docker images test +name: publish docker images test2 on: #push: From c43c3671fe9a0942ec58d29a0e5b7ea93fea62d3 Mon Sep 17 00:00:00 2001 From: Alan Forbes Date: Mon, 20 Jan 2025 17:23:39 +0000 Subject: [PATCH 5/6] reset w/f perms --- .github/workflows/publish_docker_images.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_docker_images.yml b/.github/workflows/publish_docker_images.yml index 4584524fc..54e5f6475 100644 --- a/.github/workflows/publish_docker_images.yml +++ b/.github/workflows/publish_docker_images.yml @@ -13,11 +13,11 @@ jobs: publish-docker-images: runs-on: ubuntu-latest - permissions: write-all - #contents: read - #packages: write - #attestations: write - #id-token: write + permissions: + contents: read + packages: write + attestations: write + id-token: write env: REGISTRY: ghcr.io/uxlfoundation steps: From 0e39eecaf37e94968e775512dfaccd9e61167452 Mon Sep 17 00:00:00 2001 From: Alan Forbes Date: Tue, 21 Jan 2025 09:57:36 +0000 Subject: [PATCH 6/6] more perms testing --- .github/workflows/publish_docker_images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_docker_images.yml b/.github/workflows/publish_docker_images.yml index 54e5f6475..06db6c37f 100644 --- a/.github/workflows/publish_docker_images.yml +++ b/.github/workflows/publish_docker_images.yml @@ -1,4 +1,4 @@ -name: publish docker images test2 +name: publish docker images test3 on: #push: