remove v1

This commit is contained in:
xjasonlyu
2020-11-05 18:35:45 +08:00
parent 0d634b48d8
commit 6f89409a03
289 changed files with 0 additions and 70137 deletions
-49
View File
@@ -1,49 +0,0 @@
name: Publish Docker Image
on:
push:
branches:
- master
paths-ignore:
- '.github/**'
- '.gitignore'
- 'README.md'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get Version
id: shell
run: |
echo ::set-output name=version::$(git describe --tags --long | cut -c 2-)
- name: Build and Push
if: github.ref == 'refs/heads/master'
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
tags: |
xjasonlyu/tun2socks:latest
xjasonlyu/tun2socks:${{ steps.shell.outputs.version }}