File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docker Image (amd64)
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : ['main']
7+
8+ env :
9+ REGISTRY : ghcr.io
10+ IMAGE_NAME : jam06452/fts3
11+
12+ jobs :
13+ build-and-push :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : read
17+ packages : write
18+
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v4
22+
23+ - name : Set up Docker Buildx
24+ uses : docker/setup-buildx-action@v3
25+
26+ - name : Log in to the Container registry
27+ uses : docker/login-action@v3
28+ with :
29+ registry : ghcr.io
30+ username : jam06452
31+ password : ${{ secrets.GITHUB_TOKEN }}
32+
33+ - name : Build and push Docker image
34+ uses : docker/build-push-action@v5
35+ with :
36+ context : .
37+ push : true
38+ tags : ghcr.io/jam06452/fts3:latest-amd64
You can’t perform that action at this time.
0 commit comments