Skip to content

Commit

Permalink
Push to dockerhub is separated.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersulyok committed Dec 12, 2024
1 parent d157f25 commit e2548be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/docker-build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# docker-build.sh (C) 2023-2024, Peter Sulyok
# This script will build `smfc` image.
# This script will build `smfc` docker image.
#
set -e
if [ "$1" == "" ];
Expand All @@ -11,6 +11,5 @@ then
exit 1
fi
version=$1
docker build . -t petersulyok/smfc:$version --label "org.opencontainers.image.version=$version" -f Dockerfile
docker build . --debug -t petersulyok/smfc:$version --label "org.opencontainers.image.version=$version" -f Dockerfile
docker tag petersulyok/smfc:$version petersulyok/smfc:latest
docker push petersulyok/smfc --all-tags

0 comments on commit e2548be

Please sign in to comment.