1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-06-02 22:00:12 +02:00

update docker image tag

This commit is contained in:
proletarius101 2024-01-31 22:36:22 +08:00 committed by Jochen Sprickerhof
parent 2fc9564ebe
commit cf74ca5f56
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433

View File

@ -658,7 +658,7 @@ docker:
- cd buildserver - cd buildserver
- docker build -t $TEST_IMAGE --build-arg GIT_REV_PARSE_HEAD=$(git rev-parse HEAD) . - docker build -t $TEST_IMAGE --build-arg GIT_REV_PARSE_HEAD=$(git rev-parse HEAD) .
- docker tag $TEST_IMAGE $RELEASE_IMAGE - docker tag $TEST_IMAGE $RELEASE_IMAGE
- docker tag $TEST_IMAGE ${RELEASE_IMAGE}-bullseye - docker tag $TEST_IMAGE ${RELEASE_IMAGE}-bookworm
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com
# This avoids filling up gitlab.com free tier accounts with unused docker images. # This avoids filling up gitlab.com free tier accounts with unused docker images.
- if test -z "$FDROID_PUSH_DOCKER_IMAGE"; then - if test -z "$FDROID_PUSH_DOCKER_IMAGE"; then
@ -668,4 +668,4 @@ docker:
exit 0; exit 0;
fi fi
- docker push $RELEASE_IMAGE - docker push $RELEASE_IMAGE
- docker push $RELEASE_IMAGE-bullseye - docker push $RELEASE_IMAGE-bookworm