Skip to content
Snippets Groups Projects
Commit 7fffe861 authored by ludo8147's avatar ludo8147
Browse files

structure build job

parent 192afdeb
No related branches found
No related tags found
No related merge requests found
Pipeline #69213 passed
......@@ -33,6 +33,10 @@ job_build:
go build
-o ./artifact.bin
./*.go
- docker build
--file ./Containerfile
--tag "${CONTAINER_RELEASE_IMAGE}"
./
artifacts:
paths:
- ./artifact.bin
......@@ -49,11 +53,6 @@ job_upload:
services:
- name: registry.hub.docker.com/library/docker:24.0.7-dind
script:
- echo ${CONTAINER_RELEASE_IMAGE}
- docker build
--file ./Containerfile
--tag "${CONTAINER_RELEASE_IMAGE}"
./
- docker push $CONTAINER_RELEASE_IMAGE
after_script:
- docker image rm --force "${CONTAINER_RELEASE_IMAGE}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment