Skip to content

Bump golang.org/x/net from 0.9.0 to 0.17.0 #45

Bump golang.org/x/net from 0.9.0 to 0.17.0

Bump golang.org/x/net from 0.9.0 to 0.17.0 #45

Workflow file for this run

name: PR
on: [pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Run Golang CI Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Build
run: CGO_ENABLED=0 go build -ldflags="-extldflags '-static' -w -s" -o k8s-dashboard-auth-proxy
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ouestfrance/k8s-dashboard-auth-proxy:${{ github.workflow }}-${{ github.run_number }}