Skip to content

Commit

Permalink
Add migration to ghcr workflow
Browse files Browse the repository at this point in the history
Issue: ZENKO-4800
  • Loading branch information
francoisferrand committed Apr 22, 2024
0 parents commit 0ae9ab1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/migrate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: migrate

on:
push:
branches-ignore:
- development/**
- q/*/**

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Sync ${{ github.event.repository.name }}/kafka
run: |
docker run --rm quay.io/skopeo/stable:v1.15.0 sync \
--src docker --dest docker --all --preserve-digests --retry-times 3 \
--src-creds ${{ secrets.REGISTRY_LOGIN }}:${{ secrets.REGISTRY_PASSWORD }} \
--dest-creds ${{ github.repository_owner }}:${{ github.token }} \
registry.scality.com/zenko/kafka \
ghcr.io/scality/zenko
- name: Sync ${{ github.event.repository.name }}/kafka-conect
run: |
docker run --rm quay.io/skopeo/stable:v1.15.0 sync \
--src docker --dest docker --all --preserve-digests --retry-times 3 \
--src-creds ${{ secrets.REGISTRY_LOGIN }}:${{ secrets.REGISTRY_PASSWORD }} \
--dest-creds ${{ github.repository_owner }}:${{ github.token }} \
registry.scality.com/zenko/kafka-connect \
ghcr.io/scality/zenko

0 comments on commit 0ae9ab1

Please sign in to comment.