Skip to content

Initial release

Initial release #3

Workflow file for this run

name: Build and push docker images
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_web:
name: Build image
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push the image
uses: docker/build-push-action@v4
with:
file: ./deploy/docker/web.Dockerfile
repository: nazywam/mtracker-web
tags: |
nazywam/mtracker-web:master
nazywam/mtracker-web:${{ github.sha }}
push: ${{ github.event_name == 'push' }}
# Flux v1 doesn't support OCI-compliant manifests
provenance: false
build_scheduler:
name: Build image
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push the image
uses: docker/build-push-action@v4
with:
file: ./deploy/docker/scheduler.Dockerfile
repository: nazywam/mtracker-scheduler
tags: |
nazywam/mtracker-scheduler:master
nazywam/mtracker-scheduler:${{ github.sha }}
push: ${{ github.event_name == 'push' }}
# Flux v1 doesn't support OCI-compliant manifests
provenance: false
build_worker:
name: Build image
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push the image
uses: docker/build-push-action@v4
with:
file: ./deploy/docker/worker.Dockerfile
repository: nazywam/mtracker-worker
tags: |
nazywam/mtracker-worker:master
nazywam/mtracker-worker:${{ github.sha }}
push: ${{ github.event_name == 'push' }}
# Flux v1 doesn't support OCI-compliant manifests
provenance: false