diff --git a/.github/workflows/push-app-image.yml b/.github/workflows/push-app-image.yml index 5d61aec..1c704ae 100644 --- a/.github/workflows/push-app-image.yml +++ b/.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 diff --git a/.github/workflows/push-base-image.yml b/.github/workflows/push-base-image.yml index e9721e5..db26243 100644 --- a/.github/workflows/push-base-image.yml +++ b/.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: diff --git a/.github/workflows/push-test-image.yml b/.github/workflows/push-test-image.yml index c7502e3..07389a0 100644 --- a/.github/workflows/push-test-image.yml +++ b/.github/workflows/push-test-image.yml @@ -1,4 +1,4 @@ -name: Push test image to Docker Hub. +name: Push test image on: push: branch: