Skip to content

Commit

Permalink
fix actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
andersla committed Oct 15, 2024
1 parent 29ed706 commit 76d9383
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-push-dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/env.Dockerfile
file: ./docker/env.cuda.Dockerfile # Updated for GPU build
platforms: linux/amd64
push: true
tags: |
Expand All @@ -59,7 +59,6 @@ jobs:
build-args: |
BASE_IMAGE=${{ env.BASE_IMAGE }}
build-nogpu:
name: Build and push docker image cpu
runs-on: ubuntu-latest
Expand All @@ -82,7 +81,7 @@ jobs:
echo "IMAGE_NAME=$image_name" >> $GITHUB_ENV
echo "TAG=$tag" >> $GITHUB_ENV
echo "BASE_IMAGE=$base_image" >> $GITHUB_ENV
echo "FRAMEWORK=$framework" >> $GITHUB_ENV0
echo "FRAMEWORK=$framework" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -104,7 +103,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/env.Dockerfile
file: ./docker/env.cpu.Dockerfile # Updated for CPU build
platforms: linux/amd64
push: true
tags: |
Expand All @@ -114,3 +113,4 @@ jobs:
cache-to: type=gha,mode=max
build-args: |
BASE_IMAGE=${{ env.BASE_IMAGE }}

0 comments on commit 76d9383

Please sign in to comment.