Initial implementation

This commit is contained in:
Borna Rajković committed 2023-06-20 16:10:46 +02:00
1 parent bb4f465321
commit 2172b8232e
16 files changed
+838 -57

No files matched your search

+9 -9
View File
@@ -10,17 +10,17 @@ setup:
go get
docker-dev:
docker image build -t registry.bbr-dev.info/template/backend:$(VERSION)-dev .
docker tag registry.bbr-dev.info/template/backend:$(VERSION)-dev registry.bbr-dev.info/template/backend:latest-dev
docker image push registry.bbr-dev.info/template/backend:$(VERSION)-dev
docker image push registry.bbr-dev.info/template/backend:latest-dev
docker image build -t registry.bbr-dev.info/holiday-api/backend:$(VERSION)-dev .
docker tag registry.bbr-dev.info/holiday-api/backend:$(VERSION)-dev registry.bbr-dev.info/holiday-api/backend:latest-dev
docker image push registry.bbr-dev.info/holiday-api/backend:$(VERSION)-dev
docker image push registry.bbr-dev.info/holiday-api/backend:latest-dev
docker-prod:
docker image build -t registry.bbr-dev.info/template/backend:$(VERSION) .
docker tag registry.bbr-dev.info/template/backend:$(VERSION) registry.bbr-dev.info/template/backend:latest
docker image push registry.bbr-dev.info/template/backend:$(VERSION)
docker image push registry.bbr-dev.info/template/backend:latest
docker image build -t registry.bbr-dev.info/holiday-api/backend:$(VERSION) .
docker tag registry.bbr-dev.info/holiday-api/backend:$(VERSION) registry.bbr-dev.info/holiday-api/backend:latest
docker image push registry.bbr-dev.info/holiday-api/backend:$(VERSION)
docker image push registry.bbr-dev.info/holiday-api/backend:latest
release:
git tag $(VERSION)
@@ -30,4 +30,4 @@ test:
go test ./...
clean:
rm -rf template
rm -rf holiday-api