jetstack / jetstack/jetstack-secure
Github workflows fail to tag images after push
- Linguagem predominante
- Go
- Estrelas
- 262
- Forks
- 27
- Merge médio
- 2d 7h
- PRs com merge (30d)
- 19
Descrição
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
Guia de contribuição
Direção de pesquisa
Comece pelos workflows release-master e release-tag e reproduza o comando docker buildx imagetools create mostrado na issue. Compare os relatórios vinculados do buildx e do Gatekeeper e, em seguida, verifique se a imagem marcada com a tag do commit pode receber uma nova tag no quay.io sem o erro 401 Unauthorized.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- docker, github-actions
- Domínio
- ci-cd, devops
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100