Skip to content

v1.0.3

Choose a tag to compare

@heyvaldemar heyvaldemar released this 16 Nov 20:23
· 8 commits to main since this release
0b934fe

Changed

  • A tag never names an unsigned image. The build pushes the image by digest, with no tag (push-by-digest=true). The signing action signs it, attests it, checks that the signature is on Docker Hub and verifies as this workflow, and only then points the tags at it, with docker buildx imagetools create --prefer-index=false, which copies the index as it is, so each tag names the signed digest. Until 1.0.2 the tags moved with the push: anything that failed between the push and the signature left them on an unsigned image for a while. A run that cannot sign now names nothing, and every tag keeps naming what it named. The signing test shows it: with signing failing, latest stays on the earlier run's signed image and a tag new in that run never appears. The same as heyvaldemar/aws-kubectl-docker 2.3.2.
  • Cosign is installed before anything is pushed. The build job installs cosign v2.6.1 before the push, and the signing action finds it there; a failed install fails the job before even the untagged image is pushed.