feat: Sign as a Service Integration #121 #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Handle Push to Main | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
name: Build And Push to Docker Hub | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push SignLab | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
tags: hicsail/signlab:unstable | |
build-args: | | |
PRODUCTION="false" | |
GRAPHQL_ENDPOINT=${{ secrets.GRAPHQL_ENDPOINT }} | |
ASL_LEX_ID=${{ secrets.ASL_LEX_ID }} | |
- name: Build and push Gateway | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
file: gateway/Dockerfile | |
tags: hicsail/signlab-gateway:unstable | |
- name: Push to Staging | |
uses: fjogeleit/http-request-action@v1 | |
with: | |
method: 'POST' | |
url: ${{ secrets.PORTAINER_WEBHOOK }} | |
preventFailureOnNoResponse: true |