From 56cdb2e51b6435ed21b81eebb763e19e7aec3ce6 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 22 Mar 2025 11:26:49 -0400 Subject: Fix docker image CI for pull requests (#84) Closes #65 Pull request images will now be `ttl.sh/techaro/pr-{number}/anubis:24h`. --- .github/workflows/docker.yml | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to '.github/workflows/docker.yml') diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 65e18ac..bfb095c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,8 +5,6 @@ on: push: branches: [ "main" ] tags: [ "v*" ] - pull_request: - branches: [ "main" ] env: DOCKER_METADATA_SET_OUTPUT_ENV: "true" @@ -28,12 +26,6 @@ jobs: fetch-tags: true fetch-depth: 0 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - uses: actions/setup-go@v5 with: go-version: '1.24.x' @@ -57,20 +49,6 @@ jobs: id: build run: | go run ./cmd/containerbuild --docker-repo ghcr.io/techarohq/anubis --slog-level debug - env: - PULL_REQUEST_ID: ${{ github.event.number }} - - # - name: "Comment about where to test this" - # uses: thollander/actions-comment-pull-request@v3 - # if: ${{github.event_name == 'pull_request'}} - # with: - # message: | - # You can try this PR out by using the following docker image: - - # ``` - # ${{ steps.build.outputs.docker_image }} - # ``` - # comment-tag: ${{ steps.build.outputs.docker_image }} - name: Generate artifact attestation uses: actions/attest-build-provenance@v2 -- cgit v1.2.3