generated from oci/template
build nightly off commit
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 16s
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 16s
This commit is contained in:
parent
afb63ceb58
commit
63ceffaaa1
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Build Docker image
|
# Build Docker image
|
||||||
docker build -t $REPO_HOST/$REPO_PATH:${{ github.sha }} .
|
docker build -t $REPO_HOST/$REPO_PATH:${{ github.sha }} .
|
||||||
|
docker tag $REPO_HOST/$REPO_PATH:nightly
|
||||||
|
docker push $REPO_HOST/$REPO_PATH:nightly
|
||||||
|
|
||||||
# Remove the local image to save storage
|
# Remove the local image to save storage
|
||||||
docker rmi $REPO_HOST/$REPO_PATH:${{ github.sha }}
|
docker rmi $REPO_HOST/$REPO_PATH:${{ github.sha }}
|
||||||
|
|
Loading…
Reference in a new issue