Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to publish alpha/beta releases to Docker Hub #1343

Closed
simonw opened this issue May 27, 2021 · 4 comments
Closed

Figure out how to publish alpha/beta releases to Docker Hub #1343

simonw opened this issue May 27, 2021 · 4 comments
Labels

Comments

@simonw
Copy link
Owner

simonw commented May 27, 2021

It looks like all I need to do to ship an alpha version to Docker Hub is NOT point the latest tag at it after it goes live:

docker tag $REPO:${GITHUB_REF#refs/tags/} $REPO:latest
docker push $REPO:${VERSION_TAG}
docker push $REPO:latest

Originally posted by @simonw in #1319 (comment)

@simonw simonw added the ops label May 27, 2021
@simonw
Copy link
Owner Author

simonw commented May 27, 2021

@simonw
Copy link
Owner Author

simonw commented May 27, 2021

@simonw simonw closed this as completed May 27, 2021
@simonw
Copy link
Owner Author

simonw commented May 27, 2021

That worked:

 % docker run -it datasetteproject/datasette:0.57a0
Unable to find image 'datasetteproject/datasette:0.57a0' locally
0.57a0: Pulling from datasetteproject/datasette
75646c2fb410: Pull complete 
edf8b70d3cc4: Pull complete 
229daa3ebd94: Pull complete 
65d21ac50a56: Pull complete 
e083ad7cc3ca: Pull complete 
ed4de1431432: Pull complete 
1da5e8b27cca: Pull complete 
Digest: sha256:4ab61095c1d879a91d154ed469227387356a305035da9c74542c55bd500c89db
Status: Downloaded newer image for datasetteproject/datasette:0.57a0
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8001 (Press CTRL+C to quit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant