Skip to content

Commit

Permalink
verify tags
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 committed Dec 18, 2023
1 parent 2089eeb commit bebd57c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
description: 'New tag name'
required: true

# ...

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -22,6 +20,9 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: jessehouwing/actions-semver-checker@v1
with:
warn-minor-version: true
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
Expand All @@ -38,7 +39,8 @@ jobs:
docker login --username vitalyisaev2 --password ${{ secrets.GHCR_TOKEN }} ghcr.io
docker build -t ghcr.io/ydb-platform/fq-connector-go:${{ github.event.inputs.tag }} .
docker tag ghcr.io/ydb-platform/fq-connector-go:${{ github.event.inputs.tag }} ghcr.io/ydb-platform/fq-connector-go:latest
docker push ghcr.io/ydb-platform/fq-connector-go
docker push ghcr.io/ydb-platform/fq-connector-go:${{ github.event.inputs.tag }}
docker push ghcr.io/ydb-platform/fq-connector-go:latest
- name: Create and push Git tag
run: |
git tag ${{ github.event.inputs.tag }}
Expand Down

0 comments on commit bebd57c

Please sign in to comment.