summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-08-23 15:27:42 -0400
committerGitHub <noreply@github.com>2021-08-23 15:27:42 -0400
commita09d4367495fb8a1300aeea5fd6ee22f26745ec8 (patch)
tree3b862e821374fa936cc176c76804b3d46c522dbb /.github/workflows
parent76c503c37eb2a6ceb0a1cefeba82e627bf5bb0c6 (diff)
parentdbcb1cd74696ea54fa0d80bc33f659a27d1254bf (diff)
downloadlibgit2-a09d4367495fb8a1300aeea5fd6ee22f26745ec8.tar.gz
Merge pull request #6000 from libgit2/ethomson/ci
ci: tag new containers with the latest tag
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml2
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'