File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : release-dev
2+ on :
3+ push :
4+ branches :
5+ - dev
6+ env :
7+ REGISTRY : ghcr.io
8+ IMAGE_NAME : ${{ github.repository }}
9+
10+ jobs :
11+ build-image :
12+ name : 도커 이미지 빌드
13+ runs-on : ubuntu-latest
14+
15+ permissions :
16+ contents : read
17+ packages : write
18+ attestations : write
19+ id-token : write
20+
21+ steps :
22+ - name : Check out Repository
23+ uses : actions/checkout@v4
24+
25+ - name : Sign in github container registry
26+ uses : docker/login-action@v3
27+ with :
28+ registry : ${{ env.REGISTRY }}
29+ username : ${{ github.actor }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
31+
32+ - name : Extract metadata
33+ id : meta
34+ uses : docker/metadata-action@v5
35+ with :
36+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
37+ tags : |
38+ type=sha
39+ type=raw,value=dev-latest
40+
41+ - name : Build and Push Image
42+ uses : docker/build-push-action@v6
43+ with :
44+ context : .
45+ push : true
46+ tags : ${{ steps.meta.outputs.tags }}
47+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments