Skip to content

Commit 6f2a32a

Browse files
authored
Merge pull request #181 from duggalsu/fix_vidvec_benchmark_test_workflow
Fix vidvec benchmark test workflow
2 parents d1f468d + 1d4a31e commit 6f2a32a

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/docker-push-vidvec-benchmark-test.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
name: Publish Video Operator to Dockerhub
1+
name: Test Publish Video Operator Benchmark to Dockerhub
2+
3+
permissions:
4+
contents: read
25

36
on: workflow_dispatch
47

@@ -7,35 +10,35 @@ jobs:
710
runs-on: ubuntu-latest
811
steps:
912
- name: Checkout
10-
uses: actions/checkout@v4
13+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1114
with:
1215
ref: main
1316

1417
- name: Set up QEMU
15-
uses: docker/setup-qemu-action@v3
18+
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
1619

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

2023
- name: Login to Docker Hub
21-
uses: docker/login-action@v3
24+
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v.3.1.0
2225
with:
2326
username: ${{ secrets.DOCKERHUB_USERNAME }}
2427
password: ${{ secrets.DOCKERHUB_TOKEN }}
2528

2629
- name: Build and push amd64
27-
uses: docker/build-push-action@v5
30+
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
2831
with:
29-
context: ./src/
32+
context: src/
3033
file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet
3134
platforms: linux/amd64
3235
push: true
3336
tags: tattletech/feluda-operator-vidvec:benchmark-amd64-latest-test
3437

3538
- name: Build and push arm64
36-
uses: docker/build-push-action@v5
39+
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
3740
with:
38-
context: ./src/
41+
context: src/
3942
file: benchmark/vidvec/Dockerfile.vid_vec_rep_resnet_graviton
4043
platforms: linux/arm64
4144
push: true

0 commit comments

Comments
 (0)