feat: security & integration hardening (ConfigMap + 5 gaps + CI/CD) #14

Closed
rock wants to merge 14 commits from feat/configmap-security-ci into main
Showing only changes of commit 5cfff3990a - Show all commits
+3 -8
View File
@@ -13,19 +13,15 @@ jobs:
image: docker:27-dind
options: --privileged
steps:
- name: Checkout code
- name: Install git
run: |
apk add --no-cache git
git clone https://git.riotpiao.com:2222/rock/poimen-memory.git /workspace
cd /workspace
git checkout ${{ github.sha }}
- name: Get commit info
id: info
run: |
cd /workspace
SHORT_SHA=$(git rev-parse --short HEAD)
COMMIT_MSG=$(git log -1 --pretty=%B | head -1)
SHORT_SHA=$(git -C . rev-parse --short HEAD)
COMMIT_MSG=$(git -C . log -1 --pretty=%B | head -1)
echo "short_sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
echo "commit_msg=${COMMIT_MSG}" >> $GITHUB_OUTPUT
echo "Building: ${SHORT_SHA} - ${COMMIT_MSG}"
@@ -37,7 +33,6 @@ jobs:
- name: Build image
run: |
cd /workspace
docker build \
--tag forgejo.riotpiao.com/rock/poimen-memory:${{ steps.info.outputs.short_sha }} \
--tag forgejo.riotpiao.com/rock/poimen-memory:latest \