Merge pull request #372 from tus/k8s-improve
Kubernetes upgrades maintenance
This commit is contained in:
commit
9deabf9d80
|
@ -11,11 +11,11 @@ jobs:
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Matrix Go
|
- name: Install Matrix Go
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v2-beta
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
- name: Test code
|
- name: Test code
|
||||||
env:
|
env:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
@ -27,11 +27,11 @@ jobs:
|
||||||
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
|
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go 1.13.1
|
- name: Install Go 1.13.1
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v2-beta
|
||||||
with:
|
with:
|
||||||
go-version: '1.13.1'
|
go-version: '1.13.1'
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
- name: Build TUSD
|
- name: Build TUSD
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
files: tusd_*.*
|
files: tusd_*.*
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||||
- uses: azure/container-actions/docker-login@master
|
- uses: azure/docker-login@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: tusd
|
name: tusd
|
||||||
|
@ -41,7 +41,7 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: tusd
|
app: tusd
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: tusd
|
name: tusd
|
||||||
|
|
Loading…
Reference in New Issue