Abhishek Thakur
commited on
Commit
·
6e287cd
1
Parent(s):
233a12f
use build arg
Browse files
.github/workflows/dockerhub.yml
CHANGED
@@ -24,6 +24,6 @@ jobs:
|
|
24 |
|
25 |
- name: Build and Push Docker Image
|
26 |
run: |
|
27 |
-
docker build --build-arg
|
28 |
docker tag competitions:latest huggingface/competitions:latest
|
29 |
docker push huggingface/competitions:latest
|
|
|
24 |
|
25 |
- name: Build and Push Docker Image
|
26 |
run: |
|
27 |
+
docker build --build-arg="VERSION_COMMIT_ID={{ env.GITHUB_SHA_SHORT }}" -t competitions:latest .
|
28 |
docker tag competitions:latest huggingface/competitions:latest
|
29 |
docker push huggingface/competitions:latest
|