From c73600ce4d9d37ed3bb66ae790377956308f305f Mon Sep 17 00:00:00 2001 From: zostaw Date: Sat, 2 Dec 2023 18:10:37 +0100 Subject: [PATCH] Dockerfile cleanup (#5) * Dockerfile cleanup * add comment in workflow * Removed unnecessary action. Now tests are run for every push, while Dockerhub release is initiated any time something is commited to main (so either direct commit or merge from pull request, but only during the merge commit) --- .github/workflows/{push_dockerhub.yml => main.yml} | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename .github/workflows/{push_dockerhub.yml => main.yml} (93%) diff --git a/.github/workflows/push_dockerhub.yml b/.github/workflows/main.yml similarity index 93% rename from .github/workflows/push_dockerhub.yml rename to .github/workflows/main.yml index 1fdc1c4..336b3e8 100644 --- a/.github/workflows/push_dockerhub.yml +++ b/.github/workflows/main.yml @@ -1,15 +1,12 @@ name: Dockerhub Release -# Executed on direct push, or after Pull Request was completed. +# Executed on direct push, or after Pull Request was completed during merge commit to main. # It will push the image to Dockerhub. on: push: branches: - main - pull_request: - types: - - closed jobs: tests: