From 41812dfd89393b53101ab8c3e0814279537a2cfb Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Tue, 23 Feb 2021 12:08:29 +0000 Subject: [PATCH] added deb/rpm artifacts push to apt/yum repos --- .github/workflows/release.yml | 1 + .goreleaser.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53ad0cc1a..d994f557d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,3 +23,4 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + FURY_TOKEN: ${{ secrets.FURYPUSHTOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 19e9e6c2e..9b31789dd 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,6 +13,12 @@ checksum: name_template: checksums.txt snapshot: name_template: "{{ .Tag }}-next" +publishers: + - name: fury.io deb/rpm packages + ids: + - containerlab # this id belongs to nfpm section and is used to only upload artifacts from nfmp + dir: "{{ dir .ArtifactPath }}" + cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/netdevops/ changelog: sort: asc filters: