Conversation
* Change base image architecture and version * Remove version from certbot-dns-desec
* Based on Certbot 2.2.0 now * Builds certbot-dns-desec Docker from local sources
* Bump to certbot 2.2.0 * Link images together under "latest" tag
|
@Cub0n is there a way to test your Github action without releasing a package? I'd like to get a feeling of this works before we publish. @peterthomassen I had to create a new PR with (mostly) @Cub0n's code, but now that requires your review as per our repo rules. Can you take a look, please? :) |
peterthomassen
left a comment
There was a problem hiding this comment.
In addition to the inline comments:
Building the Python package from scratch may not be reproducible due to package dependencies. We could consider always pulling the package of the same version from PyPi, but I'm not sure how that could be done.
Also, suggesting to squash before merging.
| run: | | ||
| docker buildx build . -f Dockerfile --platform ${{ matrix.cmd.platforms }} --push \ | ||
| -t ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:${{ matrix.cmd.arch }}-${{ env.IMAGE_TAG }} \ | ||
| -t ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:${{ matrix.cmd.arch }}-latest \ |
There was a problem hiding this comment.
Are we assuming that v* tags are added in strongly increasing order? If not, -latest should only be pushed on main branch.
| docker manifest create ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:latest \ | ||
| --amend ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:amd64-latest \ | ||
| --amend ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:arm32v6-latest \ | ||
| --amend ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:arm64v8-latest | ||
| docker manifest push ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:latest |
There was a problem hiding this comment.
Are we assuming that v* tags are added in strongly increasing order? If not, -latest should only be pushed on main branch.
|
Hello @nils-wisiol,
no, unfortunately I was not able to test it without producing packages. Therefore I had/have a lot of during testing. |
No description provided.