File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Publish opentracing images to GHCR"
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ defaults :
9+ run :
10+ shell : bash
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ copy-opentracing :
17+ name : Publish opentracing images to GHCR
18+ runs-on : ubuntu-22.04
19+ permissions :
20+ contents : read
21+ id-token : write
22+ packages : write
23+ steps :
24+ - name : Login to GitHub Container Registry
25+ uses : docker/login-action@v3
26+ with :
27+ registry : ghcr.io
28+ username : ${{ github.repository_owner }}
29+ password : ${{ secrets.GITHUB_TOKEN }}
30+
31+ - name : Copy image tag
32+ run : |
33+ skopeo copy -a docker://ghcr.io/pdabelf5/nginx-opentracing:nginx-1.27.0 docker://ghcr.io/nginxinc/k8s-common:nginx-opentracing-1.27.0
34+ skopeo copy -a docker://ghcr.io/pdabelf5/nginx-opentracing:nginx-1.27.0-alpine docker://ghcr.io/nginxinc/k8s-common:nginx-opentracing-1.27.0-alpine
You can’t perform that action at this time.
0 commit comments