File tree 3 files changed +25
-5
lines changed
3 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 22
22
- name : Login to DockerHub
23
23
uses : docker/login-action@v3
24
24
with :
25
- username : wh1isper
25
+ username : ${{ vars.DOCKERHUB_USERNAME }}
26
26
password : ${{ secrets.DOCKERHUB_TOKEN }}
27
+ - name : Login to GitHub Container Registry
28
+ uses : docker/login-action@v3
29
+ with :
30
+ registry : ghcr.io
31
+ username : b-scheduler
32
+ password : ${{ secrets.PAT }}
27
33
- name : Build and push release
28
34
id : docker_build_release_matrix
29
35
uses : docker/build-push-action@v5
34
40
cache-to : type=gha,mode=max
35
41
file : ./docker/Dockerfile
36
42
push : true
37
- tags : wh1isper/brq:dev
43
+ tags : |
44
+ ${{ vars.DOCKERHUB_USERNAME }}/brq:dev
45
+ ghcr.io/b-scheduler/brq:dev
Original file line number Diff line number Diff line change 33
33
- name : Login to DockerHub
34
34
uses : docker/login-action@v3
35
35
with :
36
- username : wh1isper
36
+ username : ${{ vars.DOCKERHUB_USERNAME }}
37
37
password : ${{ secrets.DOCKERHUB_TOKEN }}
38
+ - name : Login to GitHub Container Registry
39
+ uses : docker/login-action@v3
40
+ with :
41
+ registry : ghcr.io
42
+ username : b-scheduler
43
+ password : ${{ secrets.PAT }}
38
44
- name : Build and push image
39
45
id : docker_build_publish
40
46
uses : docker/build-push-action@v5
45
51
cache-to : type=gha,mode=max
46
52
file : ./docker/Dockerfile
47
53
push : true
48
- tags : wh1isper/brq:${{ github.ref_name }}
54
+ tags : |
55
+ ${{ vars.DOCKERHUB_USERNAME }}/brq:${{ github.ref_name }}
56
+ ghcr.io/b-scheduler/brq:${{ github.ref_name }}
49
57
- name : Build and push image
50
58
id : docker_build_publish_matrix_latest
51
59
uses : docker/build-push-action@v5
56
64
cache-to : type=gha,mode=max
57
65
file : ./docker/Dockerfile
58
66
push : true
59
- tags : wh1isper/brq:latest
67
+ tags : |
68
+ ${{ vars.DOCKERHUB_USERNAME }}/brq:latest
69
+ ghcr.io/b-scheduler/brq:latest
Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ FROM python:3.11.10-slim-bookworm
10
10
COPY --from=builder /source/dist/*.whl /tmp/
11
11
12
12
RUN pip install --no-cache-dir $(echo /tmp/*.whl)[browser]
13
+
14
+ LABEL org.opencontainers.image.source=https://github.com/b-scheduler/bscheduler
You can’t perform that action at this time.
0 commit comments