Skip to content

Bump golang.org/x/net from 0.17.0 to 0.23.0 #487

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

Bump golang.org/x/net from 0.17.0 to 0.23.0 #487

Workflow file for this run

name: Build image
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-image:
runs-on: [ubuntu-latest]
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21.5
cache: false
- name: Check-out code
uses: actions/checkout@v4
- name: Build image
run: make
- name: Push images to registry
if: ${{ github.repository == 'vmware/nsx-container-plugin-operator' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push vmware/nsx-container-plugin-operator:latest