File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : shisui latest image
2+
3+ on :
4+ push :
5+ branches : [ portal ]
6+
7+ defaults :
8+ run :
9+ shell : bash
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ permissions :
16+ contents : write
17+
18+ env :
19+ REGISTRY : ghcr.io
20+ IMAGE_NAME : ${{ github.repository }}
21+
22+ jobs :
23+
24+ push_image_to_github :
25+ name : Push Docker image to Github
26+ runs-on : ubuntu-latest
27+ permissions : write-all
28+ steps :
29+ - name : Check out the repo
30+ uses : actions/checkout@v4
31+ - name : Log in to Docker Hub
32+ uses : docker/login-action@v3
33+ with :
34+ registry : ${{ env.REGISTRY }}
35+ username : ${{ github.actor }}
36+ password : ${{ secrets.GITHUB_TOKEN }}
37+
38+ - name : Build and push Docker image
39+ uses : docker/build-push-action@v5
40+ with :
41+ context : .
42+ file : ./Dockerfile.portal
43+ push : true
44+ tags : ${{ env.REGISTRY }}/${{ github.repository }}:latest
Original file line number Diff line number Diff line change 1- name : shisui image
1+ name : shisui release image
22
33on :
44 release :
You can’t perform that action at this time.
0 commit comments