From 78af0c9c1f01ff8575b25fa7ef168432207daa80 Mon Sep 17 00:00:00 2001 From: Cyril B Date: Thu, 24 Aug 2023 10:50:45 +0200 Subject: [PATCH] add workflow_dispatch pt2 --- .github/workflows/frontend_docker.yml | 2 +- .github/workflows/server_docker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend_docker.yml b/.github/workflows/frontend_docker.yml index f2e1904..0d2886f 100644 --- a/.github/workflows/frontend_docker.yml +++ b/.github/workflows/frontend_docker.yml @@ -40,7 +40,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max # Only push if on main branch - push: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} + push: ${{ github.ref == 'refs/heads/main' }} tags: | ghcr.io/marigold-dev/tezos-snapshot-web:latest ghcr.io/marigold-dev/tezos-snapshot-web:${{ steps.vars.outputs.date }}-${{ steps.vars.outputs.sha_short }} diff --git a/.github/workflows/server_docker.yml b/.github/workflows/server_docker.yml index 4d1a028..36d86d1 100644 --- a/.github/workflows/server_docker.yml +++ b/.github/workflows/server_docker.yml @@ -42,7 +42,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max # Only push if on main branch - push: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} + push: ${{ github.ref == 'refs/heads/main' }} tags: | ghcr.io/marigold-dev/tezos-snapshot-server:latest ghcr.io/marigold-dev/tezos-snapshot-server:${{ steps.vars.outputs.date }}-${{ steps.vars.outputs.sha_short }}