update docker build action

This commit is contained in:
2024-04-14 01:25:56 +02:00
parent 317fc9067e
commit a6718b2487
2 changed files with 4 additions and 4 deletions

View File

@@ -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" + (

View File

@@ -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" + (