File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docker build
2+
3+ # Run this workflow every time a new commit pushed to your repository
4+ on :
5+ push :
6+ branches :
7+ - master
8+
9+ env :
10+ PUID : ' 1000'
11+ PGID : ' 1000'
12+
13+ jobs :
14+ tests :
15+ runs-on : ubuntu-latest
16+ name : Build
17+ steps :
18+ # Checks out a copy of your repository on the ubuntu machine
19+ - name : Checkout code
20+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
22+ - name : Login to GitHub Container Registry
23+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
24+ with :
25+ registry : ghcr.io
26+ username : ${{ github.actor }}
27+ password : ${{ secrets.GITHUB_TOKEN }}
28+
29+ - name : Build and push
30+ run : |
31+ docker build . --tag ghcr.io/lycheeorg/lychee-pull-requests:latest
32+ docker push ghcr.io/lycheeorg/lychee-pull-requests:latest
You can’t perform that action at this time.
0 commit comments