version from package.json
This commit is contained in:
parent
b95d9530a9
commit
411e9d931f
@ -17,13 +17,11 @@ build:
|
|||||||
- buildah login -u "$REGISTRY_USERNAME" -p "$REGISTRY_PASSWORD" "$REGISTRY"
|
- buildah login -u "$REGISTRY_USERNAME" -p "$REGISTRY_PASSWORD" "$REGISTRY"
|
||||||
script:
|
script:
|
||||||
- buildah images
|
- buildah images
|
||||||
- buildah build -t $IMAGE:latest -t $IMAGE:$CI_COMMIT_TAG
|
- buildah build -t $IMAGE:latest -t $IMAGE:$(sh VERSION)
|
||||||
- buildah images
|
- buildah images
|
||||||
- buildah push --all $IMAGE
|
- buildah push --all $IMAGE
|
||||||
after_script:
|
after_script:
|
||||||
- buildah logout "$REGISTRY"
|
- buildah logout "$REGISTRY"
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user