Skip to content

Commit e8a3fc7

Browse files
authored
[Fix] 작업변수를 못읽는 문제 (#277)
* chore: github action local 환경 변수 파일 ignore * fix: docker image name 따옴표로 감싸 문자열 자리 명시
1 parent d5364c7 commit e8a3fc7

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/docker-build-develop.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
1112
outputs:
1213
docker_image: ${{ steps.docker.outputs.docker_image }}
1314

@@ -100,7 +101,7 @@ jobs:
100101
script: |
101102
set -e
102103
echo ${{ secrets.GIT_TOKEN }} | docker login ghcr.io -u ${{ secrets.GIT_ID }} --password-stdin
103-
docker pull ${{ needs.build.outputs.docker_image }}
104+
docker pull "${{ needs.build.outputs.docker_image }}"
104105
echo "DOCKER_IMAGE=${{ needs.build.outputs.docker_image }}" > ${{ secrets.SUBMODULE_DIRECTORY }}/docker/.env
105106
sudo sh ${{ secrets.SUBMODULE_DIRECTORY }}/script/deploy.sh
106107
docker system prune -a -f || true

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@ src/main/generated/
5353
src/main/resources/static/docs/
5454

5555
### Log ###
56-
logs/
56+
logs/
57+
58+
### GitHub Actions Locally Secrets ###
59+
.secrets

0 commit comments

Comments
 (0)