Skip to content

Commit

Permalink
🐛 secretのミスを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Jul 11, 2024
1 parent 93d33f5 commit 3f8d7ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Insecure Setting
run: |
echo '{ "insecure-registries": ["${{ secrets.K8S_DOCKER_REGISTRY }}"] }' | sudo tee /etc/docker/daemon.json
echo '{ "insecure-registries": ["${{ secrets.K8S_DOCKER_REGISTHOST }}"] }' | sudo tee /etc/docker/daemon.json
cat /etc/docker/daemon.json # 設定ファイルの内容を確認するために追加
- name: Restart Docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Insecure Setting
run: |
echo '{ "insecure-registries": ["${{ secrets.K8S_DOCKER_REGISTRY }}"] }' | sudo tee /etc/docker/daemon.json
echo '{ "insecure-registries": ["${{ secrets.K8S_DOCKER_REGISTHOST }}"] }' | sudo tee /etc/docker/daemon.json
sudo systemctl daemon-reload
sudo systemctl restart docker
Expand Down

0 comments on commit 3f8d7ce

Please sign in to comment.