Create publish.yml

This commit is contained in:
mihanhunter 2022-03-14 05:39:13 -04:00 committed by GitHub
parent 9ce5a384e5
commit 346f7c6e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Test and publish to DockerHub
on:
workflow_dispatch:
# push:
# branches: [ master ]
jobs:
test:
[...]
build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: docker/build-push-action@v1
with:
username: sleeplife
password: ${{ secrets.DOCKER_PASSWORD }}
repository: sleeplife/v2ray
tags: latest