File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Publish Docker image
1
+ name : Publish Docker image (DockerHub)
2
2
3
3
on :
4
4
push :
9
9
IMAGE_NAME : ${{ github.event.repository.name }}
10
10
11
11
jobs :
12
- push_to_registry :
12
+ push_to_registry_dockerhub :
13
13
name : Push Docker image to Docker Hub
14
14
runs-on : ubuntu-latest
15
15
steps :
@@ -26,13 +26,14 @@ jobs:
26
26
id : meta
27
27
uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
28
28
with :
29
+ tags : type=raw,value=latest
29
30
images : ${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}
30
31
31
32
- name : Build and push Docker image
32
33
uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
33
34
with :
34
35
context : .
35
- file : ./ Dockerfile
36
+ file : Dockerfile
36
37
push : true
37
38
tags : ${{ steps.meta.outputs.tags }}
38
39
labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 144
144
# End of https://www.toptal.com/developers/gitignore/api/node
145
145
146
146
* .db
147
+
148
+ * .secrets
Original file line number Diff line number Diff line change
1
+ {
2
+ "cSpell.words" : [
3
+ " DOCKERHUB" ,
4
+ " github"
5
+ ]
6
+ }
You can’t perform that action at this time.
0 commit comments