Spaces:
Running
Running
fuxialexander
commited on
Commit
•
85aa480
1
Parent(s):
f0b16b9
add github workflows to huggingface ignore
Browse files- .github/workflows/docker-build-and-push.yml +0 -36
- .gitignore +1 -0
.github/workflows/docker-build-and-push.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
name: Docker Build and Push
|
2 |
-
|
3 |
-
on:
|
4 |
-
push:
|
5 |
-
branches:
|
6 |
-
- master
|
7 |
-
|
8 |
-
jobs:
|
9 |
-
build:
|
10 |
-
runs-on: ubuntu-latest
|
11 |
-
|
12 |
-
steps:
|
13 |
-
- name: Checkout code
|
14 |
-
uses: actions/checkout@v4
|
15 |
-
with:
|
16 |
-
token: ${{ secrets.TOKEN }}
|
17 |
-
submodules: 'recursive'
|
18 |
-
lfs: 'true'
|
19 |
-
|
20 |
-
|
21 |
-
- name: Set up Docker
|
22 |
-
uses: docker/setup-buildx-action@v3
|
23 |
-
|
24 |
-
- name: Login to DockerHub
|
25 |
-
uses: docker/login-action@v3
|
26 |
-
with:
|
27 |
-
username: ${{ secrets.DOCKER_USERNAME }}
|
28 |
-
password: ${{ secrets.DOCKER_PASSWORD }}
|
29 |
-
|
30 |
-
- name: Build and push Docker image
|
31 |
-
uses: docker/build-push-action@v3
|
32 |
-
with:
|
33 |
-
context: .
|
34 |
-
push: true
|
35 |
-
file: ./Dockerfile-github
|
36 |
-
tags: fuxialexander/getdemo:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gitignore
CHANGED
@@ -5,3 +5,4 @@ etc
|
|
5 |
assets
|
6 |
.gitmodules
|
7 |
getdemo-1.0.0.sif
|
|
|
|
5 |
assets
|
6 |
.gitmodules
|
7 |
getdemo-1.0.0.sif
|
8 |
+
.github/workflows/docker-build-and-push.yml
|