-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (63 loc) · 5.61 KB
/
images.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Maintain docker images in ECR repo
on:
workflow_dispatch:
jobs:
pull_push_images:
runs-on: ubuntu-latest
steps:
- name: Pull Docker Image and Push to ECR
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws configure set default.region us-east-1
docker pull docker.io/aerokube/selenoid-ui:${{ vars.SELENOID_UI_VERSION }}
docker pull docker.io/aerokube/selenoid:${{ vars.SELENOID_VERSION }}
docker pull docker.io/aerokube/ggr-ui:${{ vars.GGR_UI_VERSION }}
docker pull docker.io/aerokube/ggr:${{ vars.GGR_VERSION }}
docker pull docker.io/selenoid/video-recorder:${{ vars.RECORDER_VERSION }}
docker pull docker.io/browsers/edge:${{ vars.EDGE_VERSION }}
docker pull docker.io/browsers/firefox:${{ vars.FIREFOX_VERSION }}
docker pull docker.io/browsers/chrome:${{ vars.CHROME_VERSION }}
docker pull docker.io/browsers/opera:${{ vars.OPERA_VERSION }}
docker pull docker.io/browsers/safari:${{ vars.SAFARI_VERSION }}
docker tag docker.io/aerokube/selenoid-ui:${{ vars.SELENOID_UI_VERSION }} public.ecr.aws/orienlabs/selenoid-ui:${{ vars.SELENOID_UI_VERSION }}
docker tag docker.io/aerokube/selenoid:${{ vars.SELENOID_VERSION }} public.ecr.aws/orienlabs/selenoid:${{ vars.SELENOID_VERSION }}
docker tag docker.io/aerokube/ggr-ui:${{ vars.GGR_UI_VERSION }} public.ecr.aws/orienlabs/ggr-ui:${{ vars.GGR_UI_VERSION }}
docker tag docker.io/aerokube/ggr:${{ vars.GGR_VERSION }} public.ecr.aws/orienlabs/ggr:${{ vars.GGR_VERSION }}
docker tag docker.io/selenoid/video-recorder:${{ vars.RECORDER_VERSION }} public.ecr.aws/orienlabs/video-recorder:${{ vars.RECORDER_VERSION }}
docker tag docker.io/browsers/edge:${{ vars.EDGE_VERSION }} public.ecr.aws/orienlabs/browsers/edge:${{ vars.EDGE_VERSION }}
docker tag docker.io/browsers/firefox:${{ vars.FIREFOX_VERSION }} public.ecr.aws/orienlabs/browsers/firefox:${{ vars.FIREFOX_VERSION }}
docker tag docker.io/browsers/chrome:${{ vars.CHROME_VERSION }} public.ecr.aws/orienlabs/browsers/chrome:${{ vars.CHROME_VERSION }}
docker tag docker.io/browsers/opera:${{ vars.OPERA_VERSION }} public.ecr.aws/orienlabs/browsers/opera:${{ vars.OPERA_VERSION }}
docker tag docker.io/browsers/safari:${{ vars.SAFARI_VERSION }} public.ecr.aws/orienlabs/browsers/safari:${{ vars.SAFARI_VERSION }}
docker tag docker.io/aerokube/selenoid-ui:${{ vars.SELENOID_UI_VERSION }} public.ecr.aws/orienlabs/selenoid-ui:latest
docker tag docker.io/aerokube/selenoid:${{ vars.SELENOID_VERSION }} public.ecr.aws/orienlabs/selenoid:latest
docker tag docker.io/aerokube/ggr-ui:${{ vars.GGR_UI_VERSION }} public.ecr.aws/orienlabs/ggr-ui:latest
docker tag docker.io/aerokube/ggr:${{ vars.GGR_VERSION }} public.ecr.aws/orienlabs/ggr:latest
docker tag docker.io/selenoid/video-recorder:${{ vars.RECORDER_VERSION }} public.ecr.aws/orienlabs/video-recorder:latest
docker tag docker.io/browsers/edge:${{ vars.EDGE_VERSION }} public.ecr.aws/orienlabs/browsers/edge:latest
docker tag docker.io/browsers/firefox:${{ vars.FIREFOX_VERSION }} public.ecr.aws/orienlabs/browsers/firefox:latest
docker tag docker.io/browsers/chrome:${{ vars.CHROME_VERSION }} public.ecr.aws/orienlabs/browsers/chrome:latest
docker tag docker.io/browsers/opera:${{ vars.OPERA_VERSION }} public.ecr.aws/orienlabs/browsers/opera:latest
docker tag docker.io/browsers/safari:${{ vars.SAFARI_VERSION }} public.ecr.aws/orienlabs/browsers/safari:latest
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/orienlabs
docker push public.ecr.aws/orienlabs/selenoid-ui:${{ vars.SELENOID_UI_VERSION }}
docker push public.ecr.aws/orienlabs/selenoid:${{ vars.SELENOID_VERSION }}
docker push public.ecr.aws/orienlabs/ggr-ui:${{ vars.GGR_UI_VERSION }}
docker push public.ecr.aws/orienlabs/ggr:${{ vars.GGR_VERSION }}
docker push public.ecr.aws/orienlabs/video-recorder:${{ vars.RECORDER_VERSION }}
docker push public.ecr.aws/orienlabs/browsers/edge:${{ vars.EDGE_VERSION }}
docker push public.ecr.aws/orienlabs/browsers/firefox:${{ vars.FIREFOX_VERSION }}
docker push public.ecr.aws/orienlabs/browsers/chrome:${{ vars.CHROME_VERSION }}
docker push public.ecr.aws/orienlabs/browsers/opera:${{ vars.OPERA_VERSION }}
docker push public.ecr.aws/orienlabs/browsers/safari:${{ vars.SAFARI_VERSION }}
docker push public.ecr.aws/orienlabs/selenoid-ui:latest
docker push public.ecr.aws/orienlabs/selenoid:latest
docker push public.ecr.aws/orienlabs/ggr-ui:latest
docker push public.ecr.aws/orienlabs/ggr:latest
docker push public.ecr.aws/orienlabs/video-recorder:latest
docker push public.ecr.aws/orienlabs/browsers/edge:latest
docker push public.ecr.aws/orienlabs/browsers/firefox:latest
docker push public.ecr.aws/orienlabs/browsers/chrome:latest
docker push public.ecr.aws/orienlabs/browsers/opera:latest
docker push public.ecr.aws/orienlabs/browsers/safari:latest