forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.02 KB
/
docker-test-containers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Copy test container docker images
on:
schedule:
- cron: "23 3 * * *"
workflow_dispatch:
jobs:
copy-images:
strategy:
matrix:
include:
- source: jaegertracing/all-in-one:1.17
target_tag: jaeger
- source: otel/opentelemetry-collector-dev:latest
target_tag: otel-collector-dev
- source: shopify/toxiproxy:latest
target_tag: toxiproxy
- source: adoptopenjdk/openjdk8:latest
target_tag: openjdk8
runs-on: ubuntu-latest
steps:
- name: Docker login
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Pull and push
run: |
docker pull ${{ matrix.source }}
docker tag ${{ matrix.source }} ghcr.io/open-telemetry/java-test-containers:${{ matrix.target_tag }}
docker push ghcr.io/open-telemetry/java-test-containers:${{ matrix.target_tag }}