Skip to content

Merge pull request #114 from sunya-ch/v0.6 #2

Merge pull request #114 from sunya-ch/v0.6

Merge pull request #114 from sunya-ch/v0.6 #2

Workflow file for this run

name: BuildPushDeployImage
on:
push:
env:
IMAGE_VERSION: '0.6'
IMAGE_REGISTRY: quay.io/sustainable_computing_io
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up QEMU
uses: docker/setup-qemu-action@v2
- name: set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: build Kepler model server
run: make build
- name: Login to Quay
if: ${{ (github.repository_owner == 'sustainable-computing-io') && (github.ref == 'refs/heads/main') }}
uses: docker/login-action@v1
with:
registry: quay.io/sustainable_computing_io
username: ${{ secrets.BOT_NAME }}
password: ${{ secrets.BOT_TOKEN }}
- name: Push to quay
if: ${{ (github.repository_owner == 'sustainable-computing-io') && (github.ref == 'refs/heads/main') }}
run: make push