Skip to content

Commit

Permalink
publish opentracing images
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Jun 18, 2024
1 parent 9222398 commit 27e6078
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish-opentracing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Publish opentracing images to GHCR"

on:
push:
branches:
- master

defaults:
run:
shell: bash

permissions:
contents: read

jobs:
copy-opentracing:
name: Publish opentracing images to GHCR
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
packages: write
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Copy image tag
run: |
skopeo copy -a docker://ghcr.io/pdabelf5/nginx-opentracing:nginx-1.27.0 docker://ghcr.io/nginxinc/k8s-common:nginx-opentracing-1.27.0
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 comments on commit 27e6078

Please sign in to comment.