mirror of
https://github.com/teddysun/across.git
synced 2025-04-03 18:49:33 +08:00
Create publish.yml
This commit is contained in:
parent
9ce5a384e5
commit
346f7c6e39
20
.github/workflows/publish.yml
vendored
Normal file
20
.github/workflows/publish.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user