Skip to content

Move to new domain #308

Move to new domain

Move to new domain #308

Workflow file for this run

name: Build and publish docker image
on:
push:
branches: master
jobs:
build-and-publish-image:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ilkkao
password: ${{ secrets.ILKKA_PAT_FOR_PUBLISH }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/mas-chat/${{ github.repository }}:latest
build-args: |
REVISION=${{ github.sha }}
- name: Trigger a chat.iao.fi deployment (private)
run: 'curl -XPOST -u ''ilkkao:${{ secrets.ILKKA_PAT_FOR_PUBLISH }}'' -H ''Accept: application/vnd.github.v3+json'' -H ''Content-Type: application/json'' https://api.github.com/repos/mas-chat/meetandspeak-deploy/actions/workflows/4499707/dispatches -d ''{"ref":"master", "inputs": {"deploy-digest":"${{ steps.docker_build.outputs.digest }}"}}'''