Update docker.yml

This commit is contained in:
Jonas Winkler 2021-01-09 19:10:09 +01:00 committed by GitHub
parent d6ad41ab3a
commit ebc5f1a01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,9 +43,9 @@ jobs:
if [[ $GITHUB_REF == refs/heads/* ]]; then
DOCKER_VERSION=${GITHUB_REF#refs/heads/}
fi
DOCKER_TAG="${DOCKER_IMAGE}:${DOCKER_VERSION}"
DOCKER_TAG="jonaswinkler/paperless-ng-test:${DOCKER_VERSION}"
if [[ $DOCKER_VERSION == "master" ]]; then
DOCKER_TAG="${DOCKER_IMAGE}:latest"
DOCKER_TAG="jonaswinkler/paperless-ng-test:latest"
fi
echo ::set-output name=version::${DOCKER_VERSION}
echo ::set-output name=platforms::${DOCKER_PLATFORMS}