Skip to content

chore: Clarify README (#49) #195

chore: Clarify README (#49)

chore: Clarify README (#49) #195

Workflow file for this run

name: Build cht-sync containers
on: [push, pull_request]
jobs:
build:
name: Compile the app
runs-on: ubuntu-22.04
steps:
- name: Get Docker Hub username
id: get-docker-hub-username
run: echo '::set-output name=dockerhub_username::${{ secrets.DOCKERHUB_USERNAME }}'
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: steps.get-docker-hub-username.outputs.dockerhub_username
- uses: actions/checkout@v2
- name: Docker Build
run: docker-compose build
- name: Docker Push
run: docker-compose push