Skip to content

Commit 242f520

Browse files
authored
Update docker-release.yaml
1 parent 8927436 commit 242f520

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/docker-release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323

2424

2525
jobs:
26-
prepare:
26+
build:
2727

2828
runs-on: ubuntu-latest
2929
permissions:
@@ -69,21 +69,21 @@ jobs:
6969
# Extract metadata (tags, labels) for Docker
7070
# https://github.com/docker/metadata-action
7171
- name: Extract Docker metadata
72-
id: kubero-meta
72+
id: meta
7373
uses: docker/metadata-action@v4
7474
with:
75-
images: ${{ env.REGISTRY }}/${{ github.repository }}/kubero
75+
images: ${{ env.REGISTRY }}/${{ github.repository }}
7676

7777
# Build and push Docker image with Buildx (don't push on PR)
7878
# https://github.com/docker/build-push-action
7979
- name: Build and push Docker image
80-
id: kubero-build-and-push
80+
id: build-and-push
8181
uses: docker/build-push-action@v3
8282
with:
8383
context: .
8484
push: ${{ github.event_name != 'pull_request' }}
85-
tags: ${{ steps.kubero-meta.outputs.tags }}
86-
labels: ${{ steps.kubero-meta.outputs.labels }}
85+
tags: ${{ steps.meta.outputs.tags }}
86+
labels: ${{ steps.meta.outputs.labels }}
8787

8888
# Sign the resulting Docker image digest except on PRs.
8989
# This will only write to the public Rekor transparency log when the Docker
@@ -96,4 +96,4 @@ jobs:
9696
COSIGN_EXPERIMENTAL: "true"
9797
# This step uses the identity token to provision an ephemeral certificate
9898
# against the sigstore community Fulcio instance.
99-
run: cosign sign ${{ steps.kubero-meta.outputs.tags }}@${{ steps.kubero-build-and-push.outputs.digest }}
99+
run: cosign sign ${{ steps.meta.outputs.tags }}@${{ steps.build-and-push.outputs.digest }}

0 commit comments

Comments
 (0)