diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1572da3..a7a7006e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: - name: Install Go uses: actions/setup-go@v1 with: - go-version: "1.14.x" + go-version: 1.14.x - name: Checkout code uses: actions/checkout@v2 - name: Test @@ -44,3 +44,20 @@ jobs: run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} - name: Run Buildx run: make publish + release: + needs: [buildx] + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6c28fa3c..1889a60a 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v1 with: - go-version: "1.14.x" + go-version: 1.14.x - name: Checkout code uses: actions/checkout@v2 - name: Test