From 3fd169aac47799f76401962366cdc2484af62c5e Mon Sep 17 00:00:00 2001 From: jekabolt Date: Sun, 25 Sep 2022 15:35:13 +0300 Subject: [PATCH] wip --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f47afa9..2af5778 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,8 @@ name: Build and run docker image on remote - -on: - pull_request: - branches: [master] - types: [closed] +on: + create: + tags: + - v* jobs: push: @@ -34,7 +33,7 @@ jobs: with: context: . push: true - tags: ${{ steps.commit.outputs.short }} , latest + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} deploy: runs-on: ubuntu-latest