Skip to content

Commit

Permalink
tmp build
Browse files Browse the repository at this point in the history
  • Loading branch information
sunya-ch committed Aug 23, 2023
1 parent c358d73 commit 500556f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: image

on:
push:
branches: [ main ]
branches:
- main
- model-server-build
paths-ignore:
- 'doc/**'
- 'enhancements/**'
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.BOT_NAME }}
password: ${{ secrets.BOT_TOKEN }}
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 500556f

Please sign in to comment.