This commit is contained in:
weyu 2025-04-01 10:51:10 +08:00
commit 989b38efbc
3 changed files with 101 additions and 0 deletions

43
.github/workflows/blank.yml vendored Normal file
View File

@ -0,0 +1,43 @@
name: imageToTo
on:
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
sudo docker login --username=${{ HARBOR_USER }} --password=${{ HARBOR_PWD }} harbor.cloud.cncfstack.com
for img in `cat image.list`
do
sudo docker pull $img
if [ $? -ne 0 ];then
echo "pull error $img" >> tmpfile
continue
fi
sudo docker tag $img harbor.cloud.cncfstack.com/$img
sudo docker push harbor.cloud.cncfstack.com/$img
done
if [ -f tmpfile ];then
cat tmpfile
fi

53
all-images.list Normal file
View File

@ -0,0 +1,53 @@
docker.io/library/nginx:1.27
docker.io/library/nginx
docker.io/library/nginx:1.15-alpine
docker.io/library/registry:latest
docker.io/library/golang:1.23.1-alpine3.20
docker.io/library/bash
docker.io/library/busybox
docker.io/library/postgres:15-alpine
docker.io/library/redis:6.0.5
docker.io/library/redis:7.4.2-alpine
docker.io/library/httpd:2.4.38-alpine
docker.io/library/perl:5.26
docker.io/library/httpd:2.4.38-alpine
docker.io/library/bash:5
docker.io/library/mariadb:10.11
docker.io/library/memcached:alpine
docker.io/sonatype/nexus3:3.70.3
docker.io/ubuntu/squid:latest
docker.io/minio/minio:RELEASE.2024-09-09T16-59-28Z
docker.io/squidfunk/mkdocs-material:latest
docker.io/discourse/ruby:3.3.6-bookworm-slim
docker.io/discourse/base:2.0.20180608
docker.io/discourse/discourse_test:1.4.0
docker.io/samsaffron/discourse_base:1.0.7
docker.io/mcuadros/ofelia:latest
docker.io/robbertkl/ipv6nat
gcr.io/google-samples/kubernetes-bootcamp:v10
gcr.io/google-samples/kubernetes-bootcamp:v1
gcr.io/google-samples/node-hello:1.0
gcr.io/fluentd-elasticsearch/fluentd:v2.5.1
gcr.io/google-samples/hello-app:2.0
gcr.io/google-samples/hello-app:1.0
gcr.io/k8s-staging-sig-docs/k8s-website-hugo:v0.133.0-1b9242684415
gcr.io/k8s-staging-sig-docs/k8s-website-hugo:v0.133.0-d78e3ba9d066
gcr.io/k8s-staging-ci-images
gcr.io/k8s-staging-sig-docs
k8s.gcr.io/hyperkube:v1.0.7
ghcr.io/mailcow/acme:1.91
ghcr.io/mailcow/clamd:1.70
ghcr.io/mailcow/dockerapi:2.10
ghcr.io/mailcow/dovecot:2.31
ghcr.io/mailcow/netfilter:1.61
ghcr.io/mailcow/nginx:1.03
ghcr.io/mailcow/olefy:1.13
ghcr.io/mailcow/phpfpm:1.92
ghcr.io/mailcow/postfix:1.80
ghcr.io/mailcow/rspamd:2.0
ghcr.io/mailcow/sogo:1.129
ghcr.io/mailcow/unbound:1.23
ghcr.io/mailcow/watchdog:2.06
ghcr.io/umami-software/umami:postgresql-latest
docker.umami.is/umami-software/umami:postgresql-latest
docker.umami.is/umami-software/umami:mysql-latest

5
image.list Normal file
View File

@ -0,0 +1,5 @@
ghcr.io/umami-software/umami:postgresql-latest
docker.io/library/postgres:15-alpine
docker.io/discourse/base:2.0.20250226-0128
docker.io/discourse/base:aarch64
docker.io/discourse/mail-receiver:release