-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 add workflow change for images. (#86)
Signed-off-by: sealos-ci-robot <sealos-ci-robot@sealos.io>
- Loading branch information
1 parent
1db80d0
commit 5e90179
Showing
18 changed files
with
336 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-k3s-30.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-k3s-30.yaml" | ||
- ".github/workflows/auto-sync-k3s-30.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-k3s-30.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-k3s-31.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-k3s-31.yaml" | ||
- ".github/workflows/auto-sync-k3s-31.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-k3s-31.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-kubernetes-30.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-kubernetes-30.yaml" | ||
- ".github/workflows/auto-sync-kubernetes-30.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-kubernetes-30.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-kubernetes-31.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-kubernetes-31.yaml" | ||
- ".github/workflows/auto-sync-kubernetes-31.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-kubernetes-31.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-kubernetes-crio-30.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-kubernetes-crio-30.yaml" | ||
- ".github/workflows/auto-sync-kubernetes-crio-30.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-kubernetes-crio-30.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-kubernetes-crio-31.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-kubernetes-crio-31.yaml" | ||
- ".github/workflows/auto-sync-kubernetes-crio-31.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-kubernetes-crio-31.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-kubernetes-docker-30.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-kubernetes-docker-30.yaml" | ||
- ".github/workflows/auto-sync-kubernetes-docker-30.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-kubernetes-docker-30.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-kubernetes-docker-31.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-kubernetes-docker-31.yaml" | ||
- ".github/workflows/auto-sync-kubernetes-docker-31.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-kubernetes-docker-31.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
33 changes: 33 additions & 0 deletions
33
.github/workflows/auto-sync-sealos-cloud-devbox-frontend.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: auto-sync-sealos-cloud-devbox-frontend.yaml | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "skopeo/auto-sync-sealos-cloud-devbox-frontend.yaml" | ||
- ".github/workflows/auto-sync-sealos-cloud-devbox-frontend.yaml" | ||
schedule: | ||
- cron: '0 16 * * *' | ||
workflow_dispatch: | ||
|
||
env: | ||
USERNAME: ${{ vars.A_REGISTRY_USERNAME }} | ||
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }} | ||
|
||
jobs: | ||
image-sync: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: check podman | ||
run: | | ||
sudo podman version | ||
- name: sync images | ||
run: | | ||
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \ | ||
sync --src yaml --dest docker skopeo/auto-sync-sealos-cloud-devbox-frontend.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \ | ||
--dest-username $USERNAME --dest-password "$PASSWORD" \ | ||
--keep-going --retry-times 2 --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/k3s: ^v(1\.30\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/k3s: ^v(1\.31\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/kubernetes: ^v(1\.30\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/kubernetes: ^v(1\.31\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/kubernetes-crio: ^v(1\.30\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/kubernetes-crio: ^v(1\.31\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/kubernetes-docker: ^v(1\.30\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker.io: | ||
images-by-tag-regex: | ||
labring/kubernetes-docker: ^v(1\.31\.[1-9]?[0-9]?)(\.)?$ | ||
tls-verify: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
docker.io: | ||
images: | ||
labring/sealos-cloud-devbox-frontend: | ||
- latest | ||
images-by-tag-regex: | ||
labring/sealos-cloud-devbox-frontend: ^v.* | ||
tls-verify: false |