Skip to content

Commit

Permalink
CI: changed docker image format name for AppAPI 3
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Aug 1, 2024
1 parent e221c36 commit fde9ca9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-docker-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PACKAGE_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
Expand All @@ -45,10 +45,11 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
no-cache: true
push: true
context: .
platforms: linux/amd64,linux/arm64
file: Dockerfile
tags: ghcr.io/${{ github.repository }}-cpu:${{ env.VERSION }}
tags: ghcr.io/${{ github.repository }}:${{ env.VERSION }}-cpu
build-args: |
BUILD_TYPE=cpu
5 changes: 3 additions & 2 deletions .github/workflows/publish-docker-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PACKAGE_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
Expand All @@ -41,10 +41,11 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
no-cache: true
push: true
context: .
platforms: linux/amd64
file: Dockerfile
tags: ghcr.io/${{ github.repository }}-cuda:${{ env.VERSION }}
tags: ghcr.io/${{ github.repository }}:${{ env.VERSION }}-cuda
build-args: |
BUILD_TYPE=cuda
5 changes: 3 additions & 2 deletions .github/workflows/publish-docker-rocm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PACKAGE_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
Expand All @@ -41,10 +41,11 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v5
with:
no-cache: true
push: true
context: .
platforms: linux/amd64
file: Dockerfile
tags: ghcr.io/${{ github.repository }}-rocm:${{ env.VERSION }}
tags: ghcr.io/${{ github.repository }}:${{ env.VERSION }}-rocm
build-args: |
BUILD_TYPE=rocm

0 comments on commit fde9ca9

Please sign in to comment.