Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimstojkovic authored Mar 6, 2021
1 parent 9a2c16d commit 7ea210b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ jobs:
# Repeat with docker packages
echo $CR_TOKEN | docker login ghcr.io -u "$USERNAME" --password-stdin
echo test1
# Build image as tagged version
TAG=$(date +%y.%m)
docker buildx build -t ghcr.io/"$USERNAME"/"$PROJECT":"$TAG" $BUILD_PARAMS .
echo test2
# Build image as latest version
TAG=latest
docker buildx build -t ghcr.io/"$USERNAME"/"$PROJECT":"$TAG" $BUILD_PARAMS .

0 comments on commit 7ea210b

Please sign in to comment.