mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
update docker build action
This commit is contained in:
4
.github/workflows/auth-service-cd.yml
vendored
4
.github/workflows/auth-service-cd.yml
vendored
@@ -16,9 +16,9 @@ jobs:
|
||||
id: create_image_tag
|
||||
with:
|
||||
script: |
|
||||
if (context.issue.number) {
|
||||
if(github.ref == 'refs/heads/main') {
|
||||
return "pr" + context.issue.number;
|
||||
} else if(github.ref == 'refs/heads/main') {
|
||||
} else if(context.issue.number) {
|
||||
return 'latest';
|
||||
} else {
|
||||
return "pr" + (
|
||||
|
4
.github/workflows/backend-cd.yml
vendored
4
.github/workflows/backend-cd.yml
vendored
@@ -16,9 +16,9 @@ jobs:
|
||||
id: create_image_tag
|
||||
with:
|
||||
script: |
|
||||
if (context.issue.number) {
|
||||
if(github.ref == 'refs/heads/main') {
|
||||
return "pr" + context.issue.number;
|
||||
} else if(github.ref == 'refs/heads/main') {
|
||||
} else if(context.issue.number) {
|
||||
return 'latest';
|
||||
} else {
|
||||
return "pr" + (
|
||||
|
Reference in New Issue
Block a user