Skip to content

renamed build & publish (on alpha) #2

renamed build & publish (on alpha)

renamed build & publish (on alpha) #2

name: Build
on:
workflow_dispatch:
push:
branches:
- 'alpha'
jobs:
build-deploy:
name: Build and Publish (on alpha)
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Log into Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_LOGIN }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Set up QEMU for ARM build
uses: docker/setup-qemu-action@v2
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: "./Dockerfile"
push: true
tags: exordelabs/orchestrator:alpha