Skip to content

Commit

Permalink
Merge pull request #2055 from sourcenetwork/release/0.8.0
Browse files Browse the repository at this point in the history
Release v0.8.0
  • Loading branch information
fredcarle authored Nov 15, 2023
2 parents 3d1667d + 9dc6cd2 commit 177ca01
Show file tree
Hide file tree
Showing 566 changed files with 20,845 additions and 28,034 deletions.
76 changes: 0 additions & 76 deletions .github/workflows/code-test-coverage.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/detect-change.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/pull-docker-image.yml

This file was deleted.

83 changes: 0 additions & 83 deletions .github/workflows/push-docker-image-to-registries.yml

This file was deleted.

71 changes: 71 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Copyright 2023 Democratized Data Foundation
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0, included in the file
# licenses/APL.txt.

name: Release workflow

on:
workflow_dispatch:
inputs:
tag:
description: 'New tag name'
required: true

permissions:
contents: write
packages: write
issues: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout code into the directory
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Go environment explicitly
uses: actions/setup-go@v3
with:
go-version: "1.20"
check-latest: true

- name: Apply tag
run: git tag ${{ github.event.inputs.tag }}

- name: Build modules
run: make deps:modules

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser-pro
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
50 changes: 0 additions & 50 deletions .github/workflows/run-tests.yml

This file was deleted.

Loading

0 comments on commit 177ca01

Please sign in to comment.