Skip to content

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

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 #42

Workflow file for this run

name: "Build go project"
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Install dependencies
run: go mod tidy
- name: Build
run: go build
docker:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
run: docker build -t ghcr.io/${{ github.repository }}:${{ github.sha }} .