diff --git a/.forgejo/workflows/package.yaml b/.forgejo/workflows/package.yaml index 5406926..16e9cd4 100644 --- a/.forgejo/workflows/package.yaml +++ b/.forgejo/workflows/package.yaml @@ -6,13 +6,25 @@ jobs: publish_package: runs-on: docker steps: - - uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v1 + - name: Checkout + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 with: - forgejo: "${{ env.GITHUB_SERVER_URL }}" - owner: "${{ env.GITHUB_REPOSITORY_OWNER }}" - repository: "${{ env.GITHUB_REPOSITORY/`${{ env.GITHUB_REPOSITORY_OWNER }}/'' }}" - doer: "seang96" - release-version: "${{ env.GITHUB_REF }}" - token: "${{ secrets.token }}" + platforms: 'amd64' + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Container Registry + uses: docker/login-action@v3 + with: + registry: git.spgrn.com + username: seang96 + password: ${{ secrets.token}} + - name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile platforms: linux/amd64 - override: 'true' + push: true + tags: git.spgrn.com/${{ env.GITHUB_REPOSITORY }}:dev