Skip to content

Commit

Permalink
Merge pull request #181 from duggalsu/fix_vidvec_benchmark_test_workflow
Browse files Browse the repository at this point in the history
Fix vidvec benchmark test workflow
  • Loading branch information
duggalsu authored Mar 15, 2024
2 parents d1f468d + 1d4a31e commit 6f2a32a
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/docker-push-vidvec-benchmark-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Publish Video Operator to Dockerhub
name: Test Publish Video Operator Benchmark to Dockerhub

permissions:
contents: read

on: workflow_dispatch

Expand All @@ -7,35 +10,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: main

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0

- name: Login to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v.3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push amd64
uses: docker/build-push-action@v5
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
context: ./src/
context: src/
file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet
platforms: linux/amd64
push: true
tags: tattletech/feluda-operator-vidvec:benchmark-amd64-latest-test

- name: Build and push arm64
uses: docker/build-push-action@v5
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
context: ./src/
context: src/
file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet_graviton
platforms: linux/arm64
push: true
Expand Down

0 comments on commit 6f2a32a

Please sign in to comment.