mirror of
https://github.com/Keeper-Security/harness-integration.git
synced 2026-06-04 18:23:51 +08:00
harness CI drone plugin PLUGIN_KSM_CONFIG convention added, multi-platform Docker (amd64/arm64) support and added MIT license
This commit is contained in:
@@ -101,10 +101,11 @@ jobs:
|
||||
echo "Image tag: ${IMAGE_TAG}"
|
||||
echo "Latest tag: ${LATEST_TAG}"
|
||||
|
||||
- name: Build Docker image
|
||||
- name: Build Docker image (multi-platform)
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/') }}
|
||||
tags: |
|
||||
${{ steps.docker_tags.outputs.IMAGE_TAG }}
|
||||
@@ -281,11 +282,10 @@ jobs:
|
||||
spec:
|
||||
image: ${{ steps.docker_image.outputs.IMAGE_NAME }}
|
||||
settings:
|
||||
ksm_config: <+secrets.getValue("Keeper_Config_Secret")>
|
||||
secrets: |
|
||||
VeYTRo-PHElAwfQT6f0TIA/field/password > DB_PASSWORD
|
||||
VeYTRo-PHElAwfQT6f0TIA/field/login > DB_USERNAME
|
||||
envVariables:
|
||||
KSM_CONFIG: <+secrets.getValue("Keeper_Config_Secret")>
|
||||
```
|
||||
|
||||
### What's Changed
|
||||
@@ -293,4 +293,4 @@ jobs:
|
||||
draft: false
|
||||
prerelease: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user