Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
archlitchi committed Jun 24, 2024
1 parent 9ae56be commit 4c9342b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}

0 comments on commit 4c9342b

Please sign in to comment.