jetstack / jetstack/jetstack-secure

Github workflows fail to tag images after push

Open
#224 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
262
Forks
27
Avg merge
2d 7h
Merged PRs (30d)
19

Description

The [`release-master`](https://github.com/jetstack/preflight/runs/2335995546?check_suite_focus=true) and [`release-tag`](https://github.com/jetstack/preflight/runs/2336163158?check_suite_focus=true) workflows are failing to re-tag the image in quay.io:

```
docker buildx imagetools create quay.io/jetstack/preflight:b2384c5add501ec97516fc906ceab6967ff868a8 --tag quay.io/jetstack/preflight:latest
error: failed commit on ref "index-sha256:fcc90749fc55b6d51f932b3178a710be08cfe89b70beb57aa1d0fbe4ef2e3c66": unexpected status: 401 Unauthorized
```

The image was pushed correctly with the commit tag: https://quay.io/repository/jetstack/preflight/manifest/sha256:fcc90749fc55b6d51f932b3178a710be08cfe89b70beb57aa1d0fbe4ef2e3c66

It seems to be an issue with buildkit: https://github.com/docker/buildx/issues/327 https://github.com/open-policy-agent/gatekeeper/issues/665

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.