From 18176f2fba702472bce26de827a223d9c3c8a5ba Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+killij@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:04:11 +0000 Subject: [PATCH] Update build-docker-image.yml --- .github/workflows/build-docker-image.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 9f58042..a517b9f 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -1,18 +1,11 @@ name: Docker Publish -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - on: release: types: [published] env: - # Use docker.io for Docker Hub if empty REGISTRY: ghcr.io - # github.repository as <account>/<repo> IMAGE_NAME: ${{ github.repository }} RELEASE_TAG: ${{ github.event.release.tag_name }} @@ -23,8 +16,7 @@ jobs: permissions: contents: read packages: write - # This is used to complete the identity challenge - # with sigstore/fulcio when running outside of PRs. + # This is used to complete the identity challenge with sigstore/fulcio when running outside of PRs. id-token: write steps: @@ -79,7 +71,7 @@ jobs: uses: docker/build-push-action@v5 with: context: ./src - file: {context}/Childrens-Social-Care-CPD-Indexer/Dockerfile + file: Childrens-Social-Care-CPD-Indexer/Dockerfile #push: ${{ github.event_name != 'pull_request' }} tags: ${{ env.IMAGE_TAGS }} labels: ${{ steps.meta.outputs.labels }}