Skip to content

Commit

Permalink
chore(ci): update docker version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras committed Sep 28, 2023
1 parent 7953ee5 commit 1495e54
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
8 changes: 6 additions & 2 deletions apps/ping-ui/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,17 @@
},
"version": {
"options": {
"postTargets": ["ping-ui:docker"]
"postTargets": ["ping-ui:build","ping-ui:docker"]
}
},
"docker": {
"options": {
"metadata": {
"images": ["ping-ui"]
"images": ["ping-ui"],
"tags": [
"type=ref,event=branch",
"type=semver,pattern={{version}},value=${version}"
]
}
}
}
Expand Down
10 changes: 6 additions & 4 deletions apps/pong-ui/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,16 @@
},
"version": {
"options": {
"postTargets": ["pong-ui:docker"]
"postTargets": ["pong-ui:build", "pong-ui:docker"]
}
},
"docker": {
"options": {
"metadata": {
"images": ["pong-ui"]
}
"images": ["pong-ui"],
"tags": [
"type=ref,event=branch",
"type=semver,pattern={{version}},value=${version}"
]
}
}
}
Expand Down
12 changes: 3 additions & 9 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
"options": {
"preset": "conventional",
"skipCommit": true,
"releaseAs": "prerelease",
"preid": "rc",
"skipCommitTypes": ["docs", "ci"],
"skipRootChangelog": true,
"skipProjectChangelog": true
Expand All @@ -59,15 +61,7 @@
"engine": "docker",
"pull": true,
"push": false,
"dependsOn": ["build"],
"tags": [
"type=schedule",
"type=ref,event=branch",
"type=ref,event=tag",
"type=ref,event=pr",
"type=semver,pattern={{version}},value=${version}",
"type=sha,prefix=sha-"
]
"dependsOn": ["build"]
}
}
},
Expand Down

0 comments on commit 1495e54

Please sign in to comment.