-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue: PTFE-1339
- Loading branch information
0 parents
commit 6892e57
Showing
1 changed file
with
40 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,40 @@ | ||
--- | ||
name: migrate | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- development/** | ||
- q/*/** | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Sync ${{ github.event.repository.name }} | ||
run: | | ||
docker run --rm quay.io/skopeo/stable:v1.15.0 sync \ | ||
--src docker --dest docker --all --preserve-digests --retry-times 5 \ | ||
--src-creds ${{ secrets.REGISTRY_LOGIN }}:${{ secrets.REGISTRY_PASSWORD }} \ | ||
--dest-creds ${{ github.repository_owner }}:${{ github.token }} \ | ||
registry.scality.com/${{ github.event.repository.name }}/${{ github.event.repository.name }} \ | ||
ghcr.io/scality/ | ||
- name: Sync ${{ github.event.repository.name }}-dashboards | ||
run: | | ||
docker run --rm quay.io/skopeo/stable:v1.15.0 sync \ | ||
--src docker --dest docker --all --preserve-digests --retry-times 5 \ | ||
--src-creds ${{ secrets.REGISTRY_LOGIN }}:${{ secrets.REGISTRY_PASSWORD }} \ | ||
--dest-creds ${{ github.repository_owner }}:${{ github.token }} \ | ||
registry.scality.com/${{ github.event.repository.name }}/${{ github.event.repository.name }}-dashboards \ | ||
ghcr.io/scality/${{ github.event.repository.name }} | ||
- name: Sync pykmip | ||
run: | | ||
docker run --rm quay.io/skopeo/stable:v1.15.0 sync \ | ||
--src docker --dest docker --all --preserve-digests --retry-times 5 \ | ||
--src-creds ${{ secrets.REGISTRY_LOGIN }}:${{ secrets.REGISTRY_PASSWORD }} \ | ||
--dest-creds ${{ github.repository_owner }}:${{ github.token }} \ | ||
registry.scality.com/${{ github.event.repository.name }}-dev/pykmip \ | ||
ghcr.io/scality/${{ github.event.repository.name }} |