diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 351fc4d6..10a97430 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,13 +28,12 @@ jobs: run: GOOS=linux go build -v -o fq-connector-go ./app - name: Test run: go test -v ./app/... - - name: Create tag - run: | - git tag ${{ github.event.inputs.tag }} - git push --tags - name: Build and push Docker image run: | 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 push ghcr.io/ydb-platform/fq-connector-go:${{ github.event.inputs.tag }} - # other steps bellow as usual + - name: Create tag + run: | + git tag ${{ github.event.inputs.tag }} + git push --tags