Skip to content

Commit 4f335f6

Browse files
committed
fix id collision
1 parent 79d996b commit 4f335f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release-container.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,28 +53,28 @@ jobs:
5353
username: ${{ github.actor }}
5454
password: ${{ secrets.GITHUB_TOKEN }}
5555

56-
- id: builder
56+
- id: build
5757
name: Build Container
5858
shell: bash
5959
run: |
6060
nix run .#streamImage | docker image load
6161
echo "id=`docker image ls -q | head -n1`" >> $GITHUB_OUTPUT
6262
echo "arch=`docker image ls --format '{{ .Tag }}' | head -n1`" >> $GITHUB_OUTPUT
6363
64-
- id: builder
64+
- id: deploy
6565
name: Tag and push the container
6666
env:
67-
TAG: $VERSION-${{ steps.builder.outputs.arch }}
67+
TAG: $VERSION-${{ steps.build.outputs.arch }}
6868
run: |
69-
docker image tag "${{ steps.builder.outputs.id }}" "$FQDN:$TAG"
69+
docker image tag "${{ steps.build.outputs.id }}" "$FQDN:$TAG"
7070
docker image push "$FQDN:$TAG"
7171
echo "digest=`docker manifest inspect $FQDN:$TAG --verbose | nix run nixpkgs#jq -- -r .Descriptor.digest`" >> $GITHUB_OUTPUT
7272
7373
- name: Generate artifact attestation
7474
uses: actions/attest-build-provenance@v2
7575
with:
7676
subject-name: $FQDN
77-
subject-digest: ${{ steps.builder.outputs.digest }}
77+
subject-digest: ${{ steps.deploy.outputs.digest }}
7878
push-to-registry: true
7979

8080
bundle:

0 commit comments

Comments
 (0)