Skip to content

Commit

Permalink
Feat: remove Test job (v2fly#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Apr 12, 2021
1 parent 61621ea commit 638b6ea
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ name: docker push
jobs:
build:
runs-on: ubuntu-latest
outputs:
docker_image: ${{ steps.prepare.outputs.docker_image }}
docker_tag: ${{ steps.prepare.outputs.docker_tag }}
steps:
- name: Checkout codebase
uses: actions/checkout@v2
Expand Down Expand Up @@ -71,15 +68,3 @@ jobs:
--tag "${{ steps.prepare.outputs.docker_image }}:latest" \
--build-arg TAG=${{ steps.prepare.outputs.docker_tag }} \
--file Dockerfile .
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Test Docker image
run: |
docker run --rm --entrypoint /usr/bin/v2ray ${{ needs.build.outputs.docker_image }}:latest -version
docker run --rm --entrypoint /usr/bin/v2ray ${{ needs.build.outputs.docker_image }}:${{ needs.build.outputs.docker_tag }} -version

0 comments on commit 638b6ea

Please sign in to comment.