This commit is contained in:
parent
d924e04f05
commit
d70ce97634
@ -19,7 +19,7 @@ steps:
|
|||||||
from_secret: CI_APP_IMAGE
|
from_secret: CI_APP_IMAGE
|
||||||
commands:
|
commands:
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
- make docker_release
|
- docker buildx build --push --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile .
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
3
Makefile
3
Makefile
@ -14,9 +14,6 @@ build: deps fmt
|
|||||||
docker:
|
docker:
|
||||||
@docker buildx build --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile .
|
@docker buildx build --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile .
|
||||||
|
|
||||||
docker_release:
|
|
||||||
@docker buildx build --push --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile .
|
|
||||||
|
|
||||||
run:
|
run:
|
||||||
@${BIN} run
|
@${BIN} run
|
||||||
fmt:
|
fmt:
|
||||||
|
Loading…
Reference in New Issue
Block a user