Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Jul 31, 2024
1 parent 2347df5 commit 21a580c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: enable
- name: Set deamon.json
run: |
SW_JSON=""
SW_JSON="$(sudo cat /etc/docker/daemon.json | jq '.+{ "insecure-registries":["${{ secrets.K8S_DOCKER_REGISTHOST }}"] }')"
Expand All @@ -30,6 +30,12 @@ jobs:
echo ---
sudo systemctl status docker
shell: bash
- name: Set Timeout
run: |
export DOCKER_CLIENT_TIMEOUT=9000
export COMPOSE_HTTP_TIMEOUT=120
sudo systemctl status docker.service
sudo journalctl -xeu docker.service
- name: Build Docker image
run: docker build -t ${{ secrets.K8S_DOCKER_REGISTHOST }}/mediawiki:latest .
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/docker-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: enable
- name: Set deamon.json
run: |
SW_JSON=""
SW_JSON="$(sudo cat /etc/docker/daemon.json | jq '.+{ "insecure-registries":["${{ secrets.K8S_DOCKER_REGISTHOST }}"] }')"
Expand All @@ -34,6 +34,14 @@ jobs:
docker image ls
echo ---
sudo systemctl status docker
shell: bash

- name: Set Timeout
run: |
export DOCKER_CLIENT_TIMEOUT=9000
export COMPOSE_HTTP_TIMEOUT=120
sudo systemctl status docker.service
sudo journalctl -xeu docker.service
- name: Build Docker image
run: docker build -t ${{ secrets.K8S_DOCKER_REGISTHOST }}/mediawiki:${{ env.TAG_NAME }} .
Expand Down

0 comments on commit 21a580c

Please sign in to comment.