Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 10014a0

Browse files
authored
🐛 Fix deployment (#26)
1 parent 5f59203 commit 10014a0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

scripts/build-push.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
set -e
44

5+
basename="tiangolo/docker-with-compose"
6+
latest_tag="${basename}:latest"
7+
dated_tag="${basename}:$(date -I)"
8+
59
bash scripts/build.sh
10+
11+
docker tag "$latest_tag" "$dated_tag"
12+
613
bash scripts/docker-login.sh
714

815
docker push "$latest_tag"

scripts/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ set -e
44

55
basename="tiangolo/docker-with-compose"
66
latest_tag="${basename}:latest"
7-
dated_tag="${basename}:$(date -I)"
87

98
docker build -t "$latest_tag" .
10-
11-
docker tag "$latest_tag" "$dated_tag"

0 commit comments

Comments
 (0)