diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index dcabc5b..5133ce2 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -121,12 +121,26 @@ jobs: rake version:update env: GROONGA_REPOSITORY: ../groonga + - name: Login to GitHub Container registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build with docker run: | cd packages + rake docker:pull || : rake ${TASK_NAMESPACE}:build env: GROONGA_REPOSITORY: ../groonga + - name: Push the built Docker image + continue-on-error: true + run: | + cd packages + rake docker:push + env: + GROONGA_REPOSITORY: ../groonga - uses: actions/upload-artifact@v3 with: name: packages-${{ matrix.id }}