Skip to content

Commit f8c38d2

Browse files
committed
publish opentracing images
1 parent 933b6b3 commit f8c38d2

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

0 commit comments

Comments
 (0)