Skip to content

Commit 26ac1b0

Browse files
committed
new file: update-docker-io.sh
1 parent f8481a8 commit 26ac1b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

update-docker-io.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
git checkout main
3+
git pull
4+
#tag=$(git describe --tags | cut -d\- -f1 | sed s/v/release-/)
5+
docker login
6+
docker build . -t mevdschee/php-crud-api:latest
7+
#docker build . -t mevdschee/php-crud-api:$tag
8+
#docker push mevdschee/php-crud-api:$tag
9+
docker push mevdschee/php-crud-api:latest

0 commit comments

Comments
 (0)