Skip to content

Merge pull request #178 from Peppermint-Lab/next #18

Merge pull request #178 from Peppermint-Lab/next

Merge pull request #178 from Peppermint-Lab/next #18

Workflow file for this run

name: Dev Client Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: /apps/client
steps:
- name: Get current time
uses: 1466587594/get-current-time@v2
id: current-time
with:
format: YYYY-MM-DD--HH
- name: Checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
context: ./apps/client
file: ./apps/client/Dockerfile
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./apps/client
file: ./apps/client/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm
push: true
tags: |
pepperlabs/peppermint:dev