diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b5363f2..90bd8b7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,3 +74,15 @@ jobs: run: ${{ matrix.runs.mariadbtest }} - name: '"docker images"' run: ${{ matrix.runs.images }} + - name: login to repo + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: push to repo + run: docker push ${{ matrix.name }} ghcr.io/MariaDB/mariadb:${{ matrix.name }} + - name: MariaDB Operator Test + run: gh workflow run test-image.yaml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/MariaDB/mariadb:${{ matrix.name }} + env: + GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"