tshoot expansions

This commit is contained in:
Michael Balsillie 2022-08-22 11:03:44 +12:00
parent 3bd79c5641
commit d2ac0dd561

View File

@ -33,14 +33,14 @@ pipeline:
commands:
- echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USER --password-stdin
- docker build
-t $REGISTRY/${CI_REPO}:${CI_COMMIT_TAG}
-t $REGISTRY/${CI_REPO}:$(date +%F_%H-%M)
-t $REGISTRY/${CI_REPO}:latest
-t $REGISTRY/$${CI_REPO}:$${CI_COMMIT_TAG}
-t $REGISTRY/$${CI_REPO}:$(date +%F_%H-%M)
-t $REGISTRY/$${CI_REPO}:latest
--pull
--build-arg $${SHOUTRRR_VERSION}
-f $${DOCKERFILE}
$${CONTEXT}
- docker push -a $REGISTRY/${CI_REPO}
- docker push -a $REGISTRY/$${CI_REPO}
notify-matrix-success:
image: code.balsillie.net/containers/woodpecker-util
@ -56,7 +56,7 @@ pipeline:
commands:
- shoutrrr send
--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:
image: code.balsillie.net/containers/woodpecker-util
@ -72,4 +72,4 @@ pipeline:
commands:
- shoutrrr send
--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."