Przeglądaj źródła

Refine triggers.

scossu 1 rok temu
rodzic
commit
29d53092fa

+ 7 - 2
.github/workflows/push-app-image.yml

@@ -1,8 +1,13 @@
-name: Push image to Docker Hub.
+name: Push app image
 on:
+  # This runs on v *.*.0 after the base image has been
+  # built and pushed, or on v
   push:
     tags:
-      - "v*.*.*"
+      - "v*.*.[1-9]*"
+  workflow_run:
+    workflows: ["Push base image"]
+    types: ["completed"]
 
 env:
   DOCKER_USER: lcnetdev

+ 1 - 1
.github/workflows/push-base-image.yml

@@ -1,4 +1,4 @@
-name: Push base image to Docker Hub. Only on minor/major version update.
+name: Push base image
 on:
   push:
     tags:

+ 1 - 1
.github/workflows/push-test-image.yml

@@ -1,4 +1,4 @@
-name: Push test image to Docker Hub.
+name: Push test image
 on:
   push:
     branch: