diff --git a/.github/build.yml b/.github/build.yml deleted file mode 100644 index bb9ee03..0000000 --- a/.github/build.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Build CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - compiler: [gcc, clang] - - steps: - - uses: actions/checkout@v4 - - name: Install compiler - run: sudo apt-get update && sudo apt-get install -y ${{ matrix.compiler }} - - name: Build - run: make CC=${{ matrix.compiler }} diff --git a/.github/publish.yml b/.github/publish.yml deleted file mode 100644 index 76acdae..0000000 --- a/.github/publish.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Build and Push Multiarch Docker image to GHCR - -on: - push: - branches: - - master - -jobs: - build-and-push: - runs-on: ubuntu-latest - - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push Docker image (multiarch) - uses: docker/build-push-action@v5 - with: - context: . - push: true - tags: ghcr.io/${{ github.repository }}:latest - platforms: linux/amd64,linux/arm64 \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 76acdae..1ef7b0c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,5 +32,5 @@ jobs: with: context: . push: true - tags: ghcr.io/${{ github.repository }}:latest + tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest platforms: linux/amd64,linux/arm64 \ No newline at end of file