diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml new file mode 100644 index 0000000..d0f05e0 --- /dev/null +++ b/.github/workflows/release-dev.yml @@ -0,0 +1,31 @@ +name: Dev Release + +on: + workflow_dispatch: + +permissions: + packages: write + +jobs: + build-dev: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login 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 + uses: docker/build-push-action@v6 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: ghcr.io/lone-cloud/prism:dev diff --git a/Makefile b/Makefile index 0fbcf13..9998d0d 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,10 @@ release: git push origin "v$$VERSION"; \ gh workflow run release.yml +release-dev: + @echo "Triggering dev Docker image build..." + gh workflow run release-dev.yml + release-signal: @echo "Triggering signal-cli image release via GitHub Actions..." gh workflow run release-signal-cli.yml \ No newline at end of file