Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
docker image build workflow (#600)
Brendan Allan1a4bf104794f
diff --git a/.github/workflows/docker-build-web.yml b/.github/workflows/docker-build-web.ymlnew file mode 100644index 000000000..d38f49f14--- /dev/null+++ b/.github/workflows/docker-build-web.yml@@ -0,0 +1,55 @@+name: "Docker Build Web"++on:+ workflow_dispatch:+ inputs:+ tag:+ description: 'Tag for the Docker image'+ required: false+ default: 'latest'+ type: string++jobs:+ build:+ name: Build Docker Image+ 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: Login to GitHub Container Registry+ uses: docker/login-action@v3+ with:+ registry: ghcr.io+ username: ${{ github.actor }}+ password: ${{ secrets.GITHUB_TOKEN }}++ - name: Prepare Docker Metadata+ id: meta+ uses: docker/metadata-action@v5+ with:+ images: ghcr.io/capsoftware/cap-web+ tags: |+ type=raw,value=${{ inputs.tag || 'latest' }}++ - name: Build Docker Image+ uses: docker/build-push-action@v5+ with:+ context: .+ file: apps/web/Dockerfile+ platforms: linux/amd64+ tags: ${{ steps.meta.outputs.tags }}+ push: true+ load: false+ cache-from: type=gha+ cache-to: type=gha,mode=max++ - name: Show Docker Images+ run: docker images\ No newline at end of filediff --git a/Dockerfile b/apps/web/Dockerfilesimilarity index 100%rename from Dockerfilerename to apps/web/Dockerfile