Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
aramovic79 committed Aug 19, 2024
1 parent cdfd60d commit 4de0434
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,13 @@ push: .push
@if [ -z "$(NEW_VERSION)" ]; then \
NEW_VERSION=latest; \
fi
@echo "Creating tag statement 1..."
@docker tag $(IMAGE):$(NEW_VERSION) $(JF_URL)/$(IMAGE):$(NEW_VERSION)
@echo "Creating tag statement 2..."
@docker tag $(IMAGE):$(NEW_VERSION) $(JF_URL)/$(IMAGE):latest
@echo "Push statement 1..."
@docker push $(JF_URL)/$(IMAGE):$(NEW_VERSION)
@echo "Push statement 2..."
@docker push $(JF_URL)/$(IMAGE):latest
@echo $(NEW_VERSION) > $(VERSION_FILE)
@touch .push
Expand Down

0 comments on commit 4de0434

Please sign in to comment.