Skip to content

Commit

Permalink
tmp build
Browse files Browse the repository at this point in the history
  • Loading branch information
sunya-ch committed Oct 10, 2023
1 parent 8529097 commit a967d9d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: image

on:
workflow_call:
secrets:
username:
required: true
password:
required: true
push:
branches:
- main
- model-server-build
paths-ignore:
- 'doc/**'
- 'enhancements/**'
- '*.md'

jobs:
image_build:
Expand All @@ -18,20 +20,20 @@ jobs:
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay
- name: Login to GH
uses: docker/login-action@v1
with:
registry: quay.io/sustainable_computing_io
username: ${{ secrets.username }}
password: ${{ secrets.password }}
registry: ghcr.io/sunya-ch
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}

- name: Build and push kepler latest
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: true
tags: quay.io/sustainable_computing_io/kepler:latest
tags: ghcr.io/sunya-ch/kepler:latest
labels: latest
file: build/Dockerfile

Expand All @@ -41,6 +43,6 @@ jobs:
context: .
platforms: linux/amd64
push: true
tags: quay.io/sustainable_computing_io/kepler:latest-libbpf
tags: ghcr.io/sunya-ch/kepler:latest-libbpf
labels: latest-libbpf
file: build/Dockerfile.libbpf.kepler

0 comments on commit a967d9d

Please sign in to comment.