Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: remove Test job #26

Merged
merged 1 commit into from
Apr 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Feat: remove Test job
  • Loading branch information
Loyalsoldier committed Apr 12, 2021
commit 31503926a71d476615d69e6eb12d2defa179e31a
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