fix: allow debian files in /pool/ #21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Publish | |
| on: | |
| push: | |
| permissions: | |
| packages: write | |
| contents: read | |
| jobs: | |
| build-and-push-docker-image: | |
| name: Build Docker image and push | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 'stable' | |
| - name: Setup ko | |
| uses: ko-build/[email protected] | |
| - name: Login to Github Packages | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build containers | |
| run: | | |
| ko build --bare --sbom=none --platform linux/amd64,linux/arm64 -t latest,$GITHUB_RUN_NUMBER . | |
| env: | |
| KO_DOCKER_REPO: ghcr.io/syncthing/infra/apt-web |