From a967d9d9dd3c0db67cdbccf3499b14edec3c6f55 Mon Sep 17 00:00:00 2001 From: Sunyanan Choochotkaew Date: Wed, 23 Aug 2023 18:20:25 +0900 Subject: [PATCH] tmp build --- .github/workflows/image.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 10b86bcf1f..0f6a8d6436 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -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: @@ -18,12 +20,12 @@ 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 @@ -31,7 +33,7 @@ jobs: 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 @@ -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 \ No newline at end of file