File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : update-docker-hub-image
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+
7
+ env :
8
+ REGISTRY : docker.io
9
+ IMAGE_NAME : baydarov/draggan
10
+
11
+ jobs :
12
+ push_to_registry :
13
+ name : Push Docker image to Docker Hub
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Check out the repo
17
+ uses : actions/checkout@v3
18
+
19
+ - name : Set up Docker Buildx
20
+ uses : docker/setup-buildx-action@v2
21
+
22
+ - name : Log in to Docker Hub
23
+ uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
24
+ with :
25
+ username : ${{ secrets.DOCKER_USERNAME }}
26
+ password : ${{ secrets.DOCKER_PASSWORD }}
27
+
28
+ - name : Extract metadata (tags, labels) for Docker
29
+ id : meta
30
+ uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
31
+ with :
32
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
33
+
34
+ - name : Build and push Docker image
35
+ uses : docker/build-push-action@v2
36
+ with :
37
+ context : " {{defaultContext}}"
38
+ push : true
39
+ tags : ${{ steps.meta.outputs.tags }}
40
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ Check out the original [paper](https://vcai.mpi-inf.mpg.de/projects/DragGAN/) fo
61
61
62
62
Please refer to [ INSTALL.md] ( INSTALL.md ) .
63
63
64
+
64
65
## Citation
65
66
66
67
``` bibtex
You can’t perform that action at this time.
0 commit comments