@@ -29,12 +29,15 @@ jobs:
2929 - name : Verify release ancestry
3030 run : ./tools/verify-release-ancestry.sh "$GITHUB_SHA"
3131
32- - name : Build .deb
32+ - name : Build Boulder container and .deb
3333 id : build
3434 env :
3535 GO_VERSION : ${{ matrix.GO_VERSION }}
3636 run : ./tools/container-build.sh
3737
38+ - name : Tag Boulder container
39+ run : docker tag boulder "ghcr.io/letsencrypt/boulder:${{ github.ref_name }}-go${{ matrix.GO_VERSION }}"
40+
3841 - name : Compute checksums
3942 id : checksums
4043 # The files listed on this line must be identical to the files uploaded
@@ -54,13 +57,16 @@ jobs:
5457 # https://cli.github.com/manual/gh_release_upload
5558 run : gh release upload "${GITHUB_REF_NAME}" boulder*.deb boulder*.tar.gz boulder*.checksums.txt
5659
57- - name : Build ct-test-srv Container
60+ - name : Build ct-test-srv container
5861 run : docker buildx build . --build-arg "GO_VERSION=${{ matrix.GO_VERSION }}" -f test/ct-test-srv/Dockerfile -t "ghcr.io/letsencrypt/ct-test-srv:${{ github.ref_name }}-go${{ matrix.GO_VERSION }}"
5962
6063 - name : Login to ghcr.io
6164 run : printenv GITHUB_TOKEN | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
6265 env :
6366 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6467
65- - name : Push ct-test-srv Container
68+ - name : Push Boulder container
69+ run : docker push "ghcr.io/letsencrypt/boulder:${{ github.ref_name }}-go${{ matrix.GO_VERSION }}"
70+
71+ - name : Push ct-test-srv container
6672 run : docker push "ghcr.io/letsencrypt/ct-test-srv:${{ github.ref_name }}-go${{ matrix.GO_VERSION }}"
0 commit comments