th: streaming builds
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
4467b3ff37
commit
e63384dd9a
|
@ -46,12 +46,28 @@ pipeline:
|
|||
commands:
|
||||
- eval $DATE_COMMAND
|
||||
- export TAG=$${COMMIT_DATE}.$CI_COMMIT_SHA && echo $${TAG}
|
||||
- docker image build -f Dockerfile --build-arg SOURCE_TAG=$CI_COMMIT_SHA . -t $NAME:latest
|
||||
- docker tag $NAME:latest $NAME:$TAG
|
||||
- echo docker image build -f Dockerfile --build-arg SOURCE_TAG=$CI_COMMIT_SHA . -t $NAME:$${TAG}-server
|
||||
- echo docker image build -f streaming/Dockerfile --build-arg SOURCE_TAG=$CI_COMMIT_SHA . -t $NAME:$${TAG}-streaming
|
||||
- docker image build -f Dockerfile --build-arg SOURCE_TAG=$CI_COMMIT_SHA . -t $NAME:$${TAG}-server
|
||||
- docker image build -f streaming/Dockerfile --build-arg SOURCE_TAG=$CI_COMMIT_SHA . -t $NAME:$${TAG}-streaming
|
||||
- echo docker tag $NAME:$${TAG}-server $NAME:latest-server
|
||||
- echo docker tag $NAME:$${TAG}-server $NAME:latest
|
||||
- echo docker tag $NAME:$${TAG}-server $NAME:$${TAG}
|
||||
- echo docker tag $NAME:$${TAG}-server $NAME:latest
|
||||
- docker tag $NAME:$${TAG}-server $NAME:latest-server
|
||||
- docker tag $NAME:$${TAG}-server $NAME:latest
|
||||
- docker tag $NAME:$${TAG}-server $NAME:$${TAG}
|
||||
- docker tag $NAME:$${TAG}-server $NAME:latest
|
||||
# idk what's actually persisted between steps
|
||||
# /shrug this works, so,???
|
||||
- echo $${TAG} > tags.txt
|
||||
- echo latest >> tags.txt
|
||||
# this is racy but hopefully we don't kick off two CIs at the same time
|
||||
- echo -n > tags.txt
|
||||
- echo $${TAG} | tee -a tags.txt
|
||||
- echo $${TAG}-server | tee -a tags.txt
|
||||
- echo $${TAG}-streaming | tee -a tags.txt
|
||||
- echo latest | tee -a tags.txt
|
||||
- echo latest-server | tee -a tags.txt
|
||||
- echo latest-streaming | tee -a tags.txt
|
||||
|
||||
# maybe we can use tags someday,,,
|
||||
# tag-tag:
|
||||
|
|
Loading…
Reference in New Issue