Skip to content

Commit

Permalink
gitlabci: github: fix release job
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
  • Loading branch information
MrFreezeex committed Jun 24, 2022
1 parent 96fb4be commit a87c579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Install ceph
run: |
wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
source /etc/os-release
echo "deb https://download.ceph.com/debian-pacific/ ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/ceph.list
sudo apt-get update
sudo apt-get install -y libcephfs-dev librbd-dev librados-dev
Expand Down
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,14 @@ release:
image:
name: goreleaser/goreleaser:v1.9.2
entrypoint: ['']
extends: .install_ceph
only:
- tags
variables:
# Disable shallow cloning so that goreleaser can diff between tags to
# generate a changelog.
GIT_DEPTH: 0
before_script:
- apk add ceph-dev
script:
- apk add gpg-agent
- gpg --import < $GPG_PRIVATE_KEY_FILE
Expand Down

0 comments on commit a87c579

Please sign in to comment.