mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-03 13:33:06 +00:00
* feat: build docker images with one script * feat: publish the built docker image * ci: init worflow to publish built docker image * chore: add the new commands to the package.json * ci: add npm setup command run * ci: build with only node 12.x * refactor: add github repo bee image prefix to .env * ci: github action input for build docker image * fix: intend in yaml * fix: typeo * fix: testing the rumor about github bug in order to show up the run workflow button * revert: prev commit - did not work * ci: only build image if it was clicked manually
11 lines
265 B
Bash
Executable File
11 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
MY_PATH=$(dirname "$0")
|
|
MY_PATH=$( cd "$MY_PATH" && pwd )
|
|
|
|
DOCKER_IMAGES=$(docker image ls -qaf reference="$BEE_IMAGE_PREFIX/$BEE_ENV_PREFIX*:$BEE_VERSION")
|
|
for DOCKER_IMAGE in $DOCKER_IMAGES
|
|
do
|
|
echo "$DOCKER_IMAGE"
|
|
docker push "$DOCKER_IMAGE"
|
|
done
|