ci(octopus.k8s.vxm.cz): build image with proper tag
This commit is contained in:
parent
70b14b49af
commit
fafddc2df0
1 changed files with 12 additions and 1 deletions
|
|
@ -14,5 +14,16 @@ build:
|
|||
- cd sites/octopus.k8s.vxm.cz
|
||||
- yarn install --frozen-lockfile
|
||||
- yarn build
|
||||
- docker build --tag $IMAGE --file ./build/Containerfile .
|
||||
- docker build --tag $IMAGE:$IMAGE_TAG --file ./build/Containerfile .
|
||||
- docker push $IMAGE:$IMAGE_TAG
|
||||
|
||||
# deploy:
|
||||
# stage: deploy
|
||||
# image: sikalabs/ci
|
||||
# environment:
|
||||
# name: production
|
||||
# url: https://octopus.k8s.vxm.cz
|
||||
# script:
|
||||
# - cd sites/octopus.k8s.vxm.cz
|
||||
# - mkdir -p _deploy/octopus.k8s.vxm.cz
|
||||
# - helm template octopus.k8s.vxm.cz ./deploy/chart/octopus.k8s.vxm.cz --set image.repository=$IMAGE --set image.tag=$IMAGE_TAG > ./_deploy/octopus.k8s.vxm.cz/generated.yml
|
||||
|
|
|
|||
Reference in a new issue