File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,28 +53,28 @@ jobs:
53
53
username : ${{ github.actor }}
54
54
password : ${{ secrets.GITHUB_TOKEN }}
55
55
56
- - id : builder
56
+ - id : build
57
57
name : Build Container
58
58
shell : bash
59
59
run : |
60
60
nix run .#streamImage | docker image load
61
61
echo "id=`docker image ls -q | head -n1`" >> $GITHUB_OUTPUT
62
62
echo "arch=`docker image ls --format '{{ .Tag }}' | head -n1`" >> $GITHUB_OUTPUT
63
63
64
- - id : builder
64
+ - id : deploy
65
65
name : Tag and push the container
66
66
env :
67
- TAG : $VERSION-${{ steps.builder .outputs.arch }}
67
+ TAG : $VERSION-${{ steps.build .outputs.arch }}
68
68
run : |
69
- docker image tag "${{ steps.builder .outputs.id }}" "$FQDN:$TAG"
69
+ docker image tag "${{ steps.build .outputs.id }}" "$FQDN:$TAG"
70
70
docker image push "$FQDN:$TAG"
71
71
echo "digest=`docker manifest inspect $FQDN:$TAG --verbose | nix run nixpkgs#jq -- -r .Descriptor.digest`" >> $GITHUB_OUTPUT
72
72
73
73
- name : Generate artifact attestation
74
74
uses : actions/attest-build-provenance@v2
75
75
with :
76
76
subject-name : $FQDN
77
- subject-digest : ${{ steps.builder .outputs.digest }}
77
+ subject-digest : ${{ steps.deploy .outputs.digest }}
78
78
push-to-registry : true
79
79
80
80
bundle :
You can’t perform that action at this time.
0 commit comments