Skip to content

Commit 0f31522

Browse files
authored
Merge pull request solidnerd#141 from solidnerd/adjust-makefile
Separate Push for release and dev
2 parents c8a9fa2 + 044df99 commit 0f31522

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
command: |
5151
docker login -u $docker_release_user -p $docker_release_password
5252
make release
53+
make push-release
5354
5455
workflows:
5556
version: 2

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ build:
1515
--build-arg BUILD_DATE=$(BUILD_DATE) \
1616
--build-arg VCS_URL=$(VCS_URL)
1717

18-
push:
18+
push-dev:
1919
docker push $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE_DEV):$(DOCKER_INTERNAL_TAG)
2020

2121
pull:
@@ -25,6 +25,7 @@ release:
2525
docker tag $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE_DEV):$(DOCKER_INTERNAL_TAG) $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE):$(DOCKER_RELEASE_TAG)
2626
docker tag $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE_DEV):$(DOCKER_INTERNAL_TAG) $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE):latest
2727

28+
push-release:
2829
docker push $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE):$(DOCKER_RELEASE_TAG)
2930
docker push $(DOCKER_RELEASE_REG)/$(DOCKER_IMAGE):latest
3031

0 commit comments

Comments
 (0)