Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

Commit

Permalink
Improve github CI
Browse files Browse the repository at this point in the history
Improve github CI

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
  • Loading branch information
bensuperpc committed Jun 4, 2021
1 parent 7314cec commit cd6b68d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ jobs:
${{ matrix.images.Dockerfile }} --build-arg DOCKER_IMAGE=${{ matrix.images.image }}:${{ matrix.images.tag }} \
--build-arg BUILD_DATE=$(date -u "+%Y-%m-%dT%H:%M:%SZ")
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
- name: run
run: |
docker run -p 3632:3632 -p 3633:3633 -d --name localdistcc bensuperpc/distcc:${{ matrix.images.image }}_${{ matrix.images.tag }}
- name: test port
run: |
sleep 10 && nc -zv 127.0.0.1 3632 && nc -zv 127.0.0.1 3633
- name: push
run: |
docker push bensuperpc/distcc --all-tags
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ docker run \
-p 3633:3633 \
-d \
--name localdistcc \
bensuperpc/distcc
bensuperpc/distcc:fedora_34
#--allow
#docker exec -it localdistcc htop
#--cpus="1.5"

0 comments on commit cd6b68d

Please sign in to comment.