diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-23 15:00:39 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-23 15:04:35 -0400 |
commit | 3b603d319ee5f1f1436cd383505c47ec853c32c5 (patch) | |
tree | da3cb9657cb36b9f68f19eef5ebc52558b9f20df | |
parent | 76c503c37eb2a6ceb0a1cefeba82e627bf5bb0c6 (diff) | |
download | libgit2-3b603d319ee5f1f1436cd383505c47ec853c32c5.tar.gz |
ci: tag new containers with the latest tag
-rw-r--r-- | .github/workflows/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d1a0be720..b58f57758 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,9 @@ jobs: BASE_ARG="--build-arg BASE=${{ matrix.container.base }}" fi docker build -t ${{ env.docker-registry-container-sha }} ${BASE_ARG} -f ${{ env.dockerfile }} . + docker tag ${{ env.docker-registry-container-sha }} ${{ env.docker-registry-container-latest }} docker push ${{ env.docker-registry-container-sha }} + docker push ${{ env.docker-registry-container-latest }} working-directory: ${{ env.docker-config-path }} if: github.event_name != 'pull_request' && env.docker-container-exists != 'true' |