Skip to content

Update imagelist.yaml #33

Update imagelist.yaml

Update imagelist.yaml #33

Workflow file for this run

name: "sync image"
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'imagelist.yaml'
jobs:
sync-images:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: "install image-syncer"
env:
CONFIG: ${{ secrets.CONFIG }}
run: |
wget -c https://github.com/AliyunContainerService/image-syncer/releases/download/v1.5.5/image-syncer-v1.5.5-linux-amd64.tar.gz -O - | tar -xz
echo "$CONFIG" > config.yaml
cat imagelist.yaml >> config.yaml
- name: "run image-syncer"
run: ./image-syncer --config config.yaml