9 lines
321 B
Bash
Executable File
9 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo $CONTAINER_TOKEN | docker login git.halis.io -u $GITHUB_ACTOR --password-stdin
|
|
IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)
|
|
|
|
docker pull ubuntu:latest
|
|
docker tag ubuntu:latest $IMAGE_NAME:shell-auto-build
|
|
docker push $IMAGE_NAME:shell-auto-build
|