Skip to content

feat: implement encryptedStorage (#14) #14

feat: implement encryptedStorage (#14)

feat: implement encryptedStorage (#14) #14

Workflow file for this run

name: Release Image
on:
push:
tags:
- v*
workflow_dispatch:
inputs:
image-tag:
description: "The tag of docker image"
required: false
default: 'latest'
env:
RELEASE_VERSION: ${{ github.ref_name }}
jobs:
image-tag:
runs-on: ubuntu-latest
outputs:
tag-name: ${{ steps.get_tag_name.outputs.tag_name }}
steps:
- name: Get Tag Name
id: get_tag_name
run: |
TAG_NAME="${{ inputs.image-tag }}"
if [[ -z "${TAG_NAME}" ]]; then
RELEASE_VERSION=${GITHUB_REF#refs/tags/}
TAG_NAME=${RELEASE_VERSION}
fi
echo tag_name=$TAG_NAME >> $GITHUB_OUTPUT
release-image:
needs: [ image-tag ]
uses: apecloud/apecloud-cd/.github/workflows/[email protected]
with:
IMG: "apecloud/datasafed"
VERSION: "${{ needs.image-tag.outputs.tag-name }}"
GO_VERSION: "1.21"
APECD_REF: "v0.1.32"
DOCKERFILE_PATH: "./Dockerfile"
secrets: inherit
release-image-latest:
needs: [ image-tag ]
uses: apecloud/apecloud-cd/.github/workflows/[email protected]
with:
IMG: "apecloud/datasafed"
VERSION: "latest"
GO_VERSION: "1.21"
APECD_REF: "v0.1.32"
DOCKERFILE_PATH: "./Dockerfile"
secrets: inherit