We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cd
docker-hub-publish
1 parent 3857e2f commit ba71d84Copy full SHA for ba71d84
.github/workflows/cd.yml
@@ -47,3 +47,16 @@ jobs:
47
run: uv publish
48
env:
49
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
50
+
51
+ docker-hub-publish:
52
+ environment:
53
+ name: docker hub
54
+ url: https://hub.docker.com/r/n255/tgdb
55
56
+ steps:
57
+ - uses: actions/checkout@v3
58
+ - name: login
59
+ run: echo ${{ secrets.DOCKER_PAT }} | docker login -u ${{ vars.DOCKER_USER }} --password-stdin
60
61
+ - name: build and publish
62
+ run: docker build . -f deploy/slim/Dockerfile -t ${{ vars.DOCKER_NAMESPACE }}/${{ vars.DOCKER_REPO }}:${{ github.event.release.tag_name }}-slim --push
0 commit comments