add earthly push option

This commit is contained in:
DataHearth 2022-03-06 23:34:09 +01:00
parent 4c334d87f7
commit d2475af87e
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
2 changed files with 6 additions and 5 deletions

View File

@ -5,4 +5,5 @@ Makefile
Earthfile
.gitignore
.git
.env
.env
.github

View File

@ -33,7 +33,7 @@ build-images:
ENTRYPOINT ["clear-docker-images"]
SAVE IMAGE ${DOCKER_IMG}:${VERSION}
SAVE IMAGE ${DOCKER_IMG}:latest
SAVE IMAGE ${GHCR_IMG}:${VERSION}
SAVE IMAGE ${GHCR_IMG}:latest
SAVE IMAGE --push ${DOCKER_IMG}:${VERSION}
SAVE IMAGE --push ${DOCKER_IMG}:latest
SAVE IMAGE --push ${GHCR_IMG}:${VERSION}
SAVE IMAGE --push ${GHCR_IMG}:latest