Skip to content

Commit

Permalink
add build actions for monica
Browse files Browse the repository at this point in the history
  • Loading branch information
zarguell committed Jan 9, 2025
1 parent c3e97ab commit 9540b5d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/monica.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: monica

on:
workflow_dispatch:
schedule:
- cron: "25 13 * * 0"


jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout monica Repository
uses: actions/checkout@v4
with:
repository: monicahq/docker
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push (MAIN)
uses: docker/build-push-action@v6
with:
context: ./.examples/supervisor/fpm-alpine/app/
file: ./.examples/supervisor/fpm-alpine/app/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/monica-fpm-supervisor-alpine:latest
-
name: Build and push (MAIN)
uses: docker/build-push-action@v6
with:
context: ./.examples/supervisor/fpm-alpine/web/
file: ./.examples/supervisor/fpm-alpine/web/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/monica-nginx:latest

0 comments on commit 9540b5d

Please sign in to comment.