Try `latest-stable` instead of `all`

sobolevn-patch-2
sobolevn 2 years ago
parent 83e1e282f6
commit ea53c9cc06
No known key found for this signature in database
GPG Key ID: FF672D568AE3C73E

@ -6,7 +6,7 @@ on:
- 'v*'
workflow_dispatch:
concurrency:
concurrency:
group: ${{ github.head_ref || github.run_id }}
jobs:
@ -20,8 +20,8 @@ jobs:
matrix:
release-type:
- apk
- deb
- rpm
# - deb
# - rpm
steps:
- uses: actions/checkout@v3
- name: Run checks
@ -29,17 +29,17 @@ jobs:
env:
SECRETS_ARTIFACTORY_CREDENTIALS: ${{ secrets.SECRETS_ARTIFACTORY_CREDENTIALS }}
github-release:
runs-on: ubuntu-latest
needs: ['release-packages']
steps:
- uses: actions/checkout@v3
- run: make changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: softprops/action-gh-release@v1
with:
# Generated above by `make changelog`:
body_path: CHANGELOG-RELEASE.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# github-release:
# runs-on: ubuntu-latest
# needs: ['release-packages']
# steps:
# - uses: actions/checkout@v3
# - run: make changelog
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v1
# with:
# # Generated above by `make changelog`:
# body_path: CHANGELOG-RELEASE.md
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -28,7 +28,7 @@ function upload_with_architecture {
--max-time 10 \
--retry 3 \
--retry-delay 5 \
-XPUT "$BASE_API_URL/git-secret-apk/all/main/$arch/$VERSION_NAME" \
-XPUT "$BASE_API_URL/git-secret-apk/latest-stable/main/$arch/$VERSION_NAME" \
-T "$file_location"
}

@ -1,4 +1,4 @@
sh -c "echo 'https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main'" >> /etc/apk/repositories
sh -c "echo 'https://gitsecret.jfrog.io/artifactory/git-secret-apk/latest-stable/main'" >> /etc/apk/repositories
wget -O /etc/apk/keys/git-secret-apk.rsa.pub 'https://gitsecret.jfrog.io/artifactory/api/security/keypair/public/repositories/git-secret-apk'
apk add --update --no-cache git-secret

@ -2,12 +2,7 @@
# http://dl-cdn.alpinelinux.org/alpine/v3.13/main/
# shellcheck disable=SC2034
readonly ALPINE_ARCHITECTURES=(
'aarch64'
'armhf'
'armv7'
'mips64'
'ppc64le'
's390x'
# We only support popular arches:
'x86'
'x86_64'
)

Loading…
Cancel
Save