File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Docker
2+
3+ on :
4+ workflow_dispatch :
5+ release :
6+ types : [published]
7+
8+ jobs :
9+ build-and-push :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ packages : write
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v3
18+ - name : Set up Docker Buildx
19+ uses : docker/setup-buildx-action@v3
20+ - name : Login to GHCR
21+ uses : docker/login-action@v3
22+ with :
23+ registry : ghcr.io
24+ username : ${{ github.repository_owner }}
25+ password : ${{ secrets.GITHUB_TOKEN }}
26+ - name : Build and push
27+ uses : docker/build-push-action@v6
28+ with :
29+ context : .
30+ push : true
31+ tags : |
32+ ghcr.io/${{ github.repository_owner }}/hh-oauth2-infra:latest
33+ ghcr.io/${{ github.repository_owner }}/hh-oauth2-infra:${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments