File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1
1
# https://docs.docker.com/build/ci/github-actions/push-multi-registries/
2
- name : docker_push
2
+ name : docker_push_deploy_test
3
3
4
4
on :
5
5
workflow_dispatch :
8
8
- " develop"
9
9
10
10
jobs :
11
- docker :
11
+ deploy_test :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout
Original file line number Diff line number Diff line change
1
+ # https://docs.docker.com/build/ci/github-actions/push-multi-registries/
2
+ name : docker_push_prod
3
+
4
+ on :
5
+ push :
6
+ tags :
7
+ - v**
8
+
9
+ jobs :
10
+ docker_push :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ - name : Set up Docker Buildx
16
+ uses : docker/setup-buildx-action@v3
17
+ - name : Login to SADiLaR Container Registry
18
+ uses : docker/login-action@v3
19
+ with :
20
+ registry : docker.sadilar.org
21
+ username : ${{ vars.SADILAR_DOCKER_REPOSITORY_USER }}
22
+ password : ${{ secrets.SADILAR_DOCKER_REPOSITORY_SECRET }}
23
+ - name : Build and push
24
+ uses : docker/build-push-action@v5
25
+ with :
26
+ context : .
27
+ platforms : linux/amd64
28
+ push : true
29
+ tags : |
30
+ docker.sadilar.org/term_platform:${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments