-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ae56be
commit 4c9342b
Showing
1 changed file
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,13 @@ jobs: | |
|
||
- name: Get branch name | ||
uses: nelonoel/[email protected] | ||
|
||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Docker Login | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -38,6 +44,13 @@ jobs: | |
# Password or personal access token used to log against the Docker registry | ||
password: ${{ secrets.DOCKERHUB_PASSWD }} | ||
|
||
- run: docker build . -t projecthami/dcu-vgpu-device-plugin:${BRANCH_NAME} | ||
- run: docker push projecthami/dcu-vgpu-device-plugin:${BRANCH_NAME} | ||
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: projecthami/mock-device-plugin:${BRANCH_NAME} | ||
|
||
# - run: docker build . -t projecthami/mock-device-plugin:${BRANCH_NAME} | ||
# - run: docker push projecthami/mock-device-plugin:${BRANCH_NAME} | ||
|