From 3a5624f70d4117aeae8a451cc841f1b5b7f59c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Magall=C3=B3n?= Date: Tue, 30 Sep 2025 09:42:51 +0200 Subject: [PATCH 1/2] build: Update actions versions and push test image --- .github/workflows/publish.yaml | 4 ++-- .github/workflows/test_image.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 522e95b..079acd0 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -62,7 +62,7 @@ jobs: id-token: write # required for signing with cosign steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Log in to GitHub Container Registry uses: docker/login-action@v3 @@ -73,7 +73,7 @@ jobs: - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true diff --git a/.github/workflows/test_image.yaml b/.github/workflows/test_image.yaml index 66a669c..cf7955d 100644 --- a/.github/workflows/test_image.yaml +++ b/.github/workflows/test_image.yaml @@ -26,7 +26,7 @@ jobs: contents: read # required for actions/checkout steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.sha }} # required for better experience using pre-releases fetch-depth: "0" # Required due to the way Git works, without it this action won't be able to find any or the correct tags @@ -38,13 +38,13 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build Docker image + - name: Build Docker image and test push action id: build-to-test - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . load: true - push: false + push: true tags: | ghcr.io/sysdiglabs/sysdig-mcp-server:test From 1306b1f7850305d675d6b608ea687582bfcc6d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Magall=C3=B3n?= Date: Tue, 30 Sep 2025 09:49:57 +0200 Subject: [PATCH 2/2] fix: Give packages-write permission --- .github/workflows/test_image.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_image.yaml b/.github/workflows/test_image.yaml index cf7955d..523f767 100644 --- a/.github/workflows/test_image.yaml +++ b/.github/workflows/test_image.yaml @@ -24,6 +24,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read # required for actions/checkout + packages: write # required for pushing the test image to ghcr.io steps: - name: Check out the repo uses: actions/checkout@v5