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 }}
|
||||
steps:
|
||||
- name: Install Matrix Go
|
||||
uses: actions/setup-go@v1
|
||||
uses: actions/setup-go@v2-beta
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
- name: Test code
|
||||
env:
|
||||
GO111MODULE: on
|
||||
|
@ -27,11 +27,11 @@ jobs:
|
|||
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- name: Install Go 1.13.1
|
||||
uses: actions/setup-go@v1
|
||||
uses: actions/setup-go@v2-beta
|
||||
with:
|
||||
go-version: '1.13.1'
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
- name: Build TUSD
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
files: tusd_*.*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||
- uses: azure/container-actions/docker-login@master
|
||||
- uses: azure/docker-login@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: tusd
|
||||
|
@ -41,7 +41,7 @@ spec:
|
|||
selector:
|
||||
app: tusd
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: tusd
|
||||
|
|
Loading…
Reference in New Issue