From ae5a16e1337338926c194b35485f7e769bb2c2be Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 23 Nov 2022 13:30:05 -0700 Subject: [PATCH] Only make dev builds on request --- .github/workflows/docker-dev.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml index a183d2e..6f5c86e 100644 --- a/.github/workflows/docker-dev.yml +++ b/.github/workflows/docker-dev.yml @@ -1,8 +1,6 @@ name: Publish Development Image -on: - push: - branches: ["main"] +on: workflow_dispatch jobs: push_to_registry: @@ -25,6 +23,7 @@ jobs: images: jointakahe/takahe-dev tags: | type=edge,branch=main + type=sha - name: Build and push Docker image uses: docker/build-push-action@175d02bffea74695e96b351069ac938b338802f9