add nginx 1.26

This commit is contained in:
云乾 2025-05-01 23:16:38 +08:00
parent 842f24c397
commit adf69ffa84
3 changed files with 2 additions and 18 deletions

View File

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

View File

@ -121,3 +121,4 @@ docker.io/minio/minio:RELEASE.2025-04-08T15-41-24Z
docker.io/minio/minio:RELEASE.2025-04-03T14-56-28Z docker.io/minio/minio:RELEASE.2025-04-03T14-56-28Z
docker.io/minio/minio:RELEASE.2025-03-12T18-04-18Z docker.io/minio/minio:RELEASE.2025-03-12T18-04-18Z
docker.io/bitnami/discourse:3.4.2 docker.io/bitnami/discourse:3.4.2
docker.io/corentinth/it-tools:latest

View File

@ -1 +1 @@
docker.io/corentinth/it-tools:latest docker.io/library/nginx:1.26