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"
|
||||
script:
|
||||
- buildah images
|
||||
- buildah build -t $IMAGE:latest -t $IMAGE:$CI_COMMIT_TAG
|
||||
- buildah build -t $IMAGE:latest -t $IMAGE:$(sh VERSION)
|
||||
- buildah images
|
||||
- buildah push --all $IMAGE
|
||||
after_script:
|
||||
- buildah logout "$REGISTRY"
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
Loading…
Reference in New Issue
Block a user