tshoot expansions
This commit is contained in:
parent
3bd79c5641
commit
d2ac0dd561
@ -33,14 +33,14 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USER --password-stdin
|
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USER --password-stdin
|
||||||
- docker build
|
- docker build
|
||||||
-t $REGISTRY/${CI_REPO}:${CI_COMMIT_TAG}
|
-t $REGISTRY/$${CI_REPO}:$${CI_COMMIT_TAG}
|
||||||
-t $REGISTRY/${CI_REPO}:$(date +%F_%H-%M)
|
-t $REGISTRY/$${CI_REPO}:$(date +%F_%H-%M)
|
||||||
-t $REGISTRY/${CI_REPO}:latest
|
-t $REGISTRY/$${CI_REPO}:latest
|
||||||
--pull
|
--pull
|
||||||
--build-arg $${SHOUTRRR_VERSION}
|
--build-arg $${SHOUTRRR_VERSION}
|
||||||
-f $${DOCKERFILE}
|
-f $${DOCKERFILE}
|
||||||
$${CONTEXT}
|
$${CONTEXT}
|
||||||
- docker push -a $REGISTRY/${CI_REPO}
|
- docker push -a $REGISTRY/$${CI_REPO}
|
||||||
|
|
||||||
notify-matrix-success:
|
notify-matrix-success:
|
||||||
image: code.balsillie.net/containers/woodpecker-util
|
image: code.balsillie.net/containers/woodpecker-util
|
||||||
@ -56,7 +56,7 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- shoutrrr send
|
- shoutrrr send
|
||||||
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||||
--message "New image build of ${CI_REPO}, ${CI_COMMIT_TAG}, has been completed and pushed."
|
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has been completed and pushed."
|
||||||
|
|
||||||
notify-matrix-failure:
|
notify-matrix-failure:
|
||||||
image: code.balsillie.net/containers/woodpecker-util
|
image: code.balsillie.net/containers/woodpecker-util
|
||||||
@ -72,4 +72,4 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- shoutrrr send
|
- shoutrrr send
|
||||||
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||||
--message "New image build of ${CI_REPO}, ${CI_COMMIT_TAG}, has failed."
|
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
Loading…
Reference in New Issue
Block a user