Skip to content

Merge pull request #782 from Ivanbeethoven/main #89

Merge pull request #782 from Ivanbeethoven/main

Merge pull request #782 from Ivanbeethoven/main #89

Workflow file for this run

name: Docker Build Cloud
on:
push:
jobs:
mono:
runs-on: ubuntu-latest
if: github.repository_owner == 'genedna'
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "${{ vars.DOCKER_USER }}/mono"
platforms: linux/amd64,linux/arm64
install: true
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: "${{ vars.DOCKER_USER }}/mono:mono-engine-latest"
file: docker/mono-engine-dockerfile
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
postgres:
runs-on: ubuntu-latest
if: github.repository_owner == 'genedna'
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "${{ vars.DOCKER_USER }}/mono"
platforms: linux/amd64,linux/arm64
install: true
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: "${{ vars.DOCKER_USER }}/mono:mono-pg-latest"
file: docker/mono-pg-dockerfile
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
ui:
runs-on: ubuntu-latest
if: github.repository_owner == 'genedna'
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "${{ vars.DOCKER_USER }}/mono"
platforms: linux/amd64,linux/arm64
install: true
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: "${{ vars.DOCKER_USER }}/mono:mono-ui-latest"
file: docker/mono-ui-dockerfile
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
aries:
runs-on: ubuntu-latest
if: github.repository_owner == 'genedna'
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "${{ vars.DOCKER_USER }}/mono"
platforms: linux/amd64,linux/arm64
install: true
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: "${{ vars.DOCKER_USER }}/mono:aries-engine-latest"
file: docker/aries-engine-dockerfile-hub
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
mega:
runs-on: ubuntu-latest
if: github.repository_owner == 'genedna'
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "${{ vars.DOCKER_USER }}/mono"
platforms: linux/amd64,linux/arm64
install: true
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: "${{ vars.DOCKER_USER }}/mono:mega-engine-latest"
file: docker/mega-engine-dockerfile-hub
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}