From 6fc4626632a66b264b9b652f14892cd9e1a43b3b Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Fri, 14 Jan 2022 09:21:01 -0500 Subject: [PATCH 1/2] Remove revbot workflow action Signed-off-by: Kyle Harding --- .github/workflows/revbot.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/revbot.yml diff --git a/.github/workflows/revbot.yml b/.github/workflows/revbot.yml deleted file mode 100644 index 3636641..0000000 --- a/.github/workflows/revbot.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: revbot - -on: - push: - branches: - - "main" - -jobs: - revbot: - runs-on: ubuntu-20.04 - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - id: revbot - run: echo "::set-output name=new_tag::$(head -n1 VERSION)-$(date +%Y%m%d)" - - # REVBOT_TOKEN requires 'repo' access. - # Don't use GITHUB_TOKEN if you want this commit to trigger other workflows. - - uses: richardsimko/update-tag@v1 - with: - tag_name: ${{ steps.revbot.outputs.new_tag }} - env: - GITHUB_TOKEN: ${{ secrets.REVBOT_TOKEN }} From 268c3f0aa4046dee81ac2541d42616c05685998d Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Fri, 14 Jan 2022 09:23:05 -0500 Subject: [PATCH 2/2] Require manual semver tagging for latest Signed-off-by: Kyle Harding --- .github/workflows/docker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 641be41..755ca87 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,8 @@ on: push: tags: - "*" + branches: + - "main" pull_request: branches: - "main" @@ -34,7 +36,7 @@ jobs: type=ref,event=branch type=ref,event=pr type=sha - type=match,pattern=(\d+.\d+.\d+)-\d+,group=1 + type=semver,pattern={{version}} - uses: docker/setup-buildx-action@v1 with: