diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ee81efb8..2b5d6655 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,4 +1,4 @@ -name: Docker image publication +name: Image publication on: workflow_call @@ -9,7 +9,7 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: - publish-docker-image: + publish-image: runs-on: ubuntu-latest permissions: @@ -24,7 +24,7 @@ jobs: - name: Install cosign uses: sigstore/cosign-installer@v3 - - name: Setup Docker buildx + - name: Setup buildx uses: docker/setup-buildx-action@v3 - name: Log into registry ${{ env.REGISTRY }}' @@ -34,13 +34,13 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Docker Metadata action + - name: Image metadata action uses: docker/metadata-action@v5 id: meta with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - name: Build and push Docker image + - name: Build and push image id: build-and-push uses: docker/build-push-action@v5 with: @@ -52,7 +52,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - name: Sign the published Docker image + - name: Sign the published image env: COSIGN_EXPERIMENTAL: "true" run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --tlog-upload=false {}@${{ steps.build-and-push.outputs.digest }}