Skip to content

Commit 3b603d3

Browse files
committed
ci: tag new containers with the latest tag
1 parent 76c503c commit 3b603d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
BASE_ARG="--build-arg BASE=${{ matrix.container.base }}"
7171
fi
7272
docker build -t ${{ env.docker-registry-container-sha }} ${BASE_ARG} -f ${{ env.dockerfile }} .
73+
docker tag ${{ env.docker-registry-container-sha }} ${{ env.docker-registry-container-latest }}
7374
docker push ${{ env.docker-registry-container-sha }}
75+
docker push ${{ env.docker-registry-container-latest }}
7476
working-directory: ${{ env.docker-config-path }}
7577
if: github.event_name != 'pull_request' && env.docker-container-exists != 'true'
7678

0 commit comments

Comments
 (0)