Set some bash safety options

References #384.
pull/390/head
Andrew Gaul 2021-11-16 09:09:06 +09:00
rodzic a2dc43d23e
commit be765854be
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,9 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
docker buildx build --platform linux/amd64 -t $GITHUB_REPOSITORY:latest .