Archived
1
0

chore: update Docker image publish workflow (#4847)

* Use official action to log in to Docker Hub
* Run using pinned ubuntu-20.04 environment
This commit is contained in:
Jonathan Yu
2022-02-10 17:40:41 -08:00
committed by GitHub
parent 177f0ed163
commit 8135d2ecc3
2 changed files with 12 additions and 11 deletions

View File

@ -26,11 +26,6 @@ main() {
# Download the release-packages artifact
download_artifact release-packages ./release-packages
# Login to Docker
if [[ ${CI-} ]]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
fi
docker buildx bake -f ci/release-image/docker-bake.hcl --push
}