This commit is contained in:
14
.github/workflows/build.yaml
vendored
14
.github/workflows/build.yaml
vendored
@ -24,13 +24,13 @@ jobs:
|
||||
uses: juliangruber/read-file-action@v1
|
||||
with:
|
||||
path: ./version
|
||||
|
||||
- name: Install Docker // Docker 설치
|
||||
run: |
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh
|
||||
if: runner.os == 'Linux'
|
||||
#test
|
||||
# - name: Install Docker // Docker 설치
|
||||
# run: |
|
||||
# curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
# sh get-docker.sh
|
||||
# if: runner.os == 'Linux'
|
||||
|
||||
# - name: Set up Docker Buildx
|
||||
# # uses: https://github.com/docker/setup-buildx-action@v1
|
||||
# uses: docker/setup-buildx-action@v1
|
||||
@ -76,7 +76,7 @@ jobs:
|
||||
VERSION="${{ steps.img-ver.outputs.content }}"
|
||||
VERSION_SAFE=$(echo "$VERSION" | tr '.' 'd')
|
||||
|
||||
yq e -i '(.spec.template.spec.containers | select(length > 0) | .[0].name) = "msa-django-ansible-'${VERSION_SAFE}'"' patch-deployment.yaml
|
||||
yq e -i ".spec.template.spec.containers[0].name |= \"msa-django-ansible-${VERSION_SAFE}\"" patch-deployment.yaml
|
||||
|
||||
echo "✅ Final patch-deployment.yaml content:"
|
||||
cat patch-deployment.yaml
|
||||
|
||||
Reference in New Issue
Block a user