build nightly off commit
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 57s
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 57s
This commit is contained in:
parent
d8cd7de6e8
commit
29af83d292
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