Skip to content

chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 #29

chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0

chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 #29

Workflow file for this run

name: release
on:
workflow_dispatch: {}
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: checkout
uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: "pnpm"
cache-dependency-path: "ui/pnpm-lock.yaml"
- run: pnpm install
working-directory: ui
- run: pnpm run generate
working-directory: ui
- name: docker-setup
uses: docker/setup-buildx-action@v2
- name: docker-login-ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: docker-login-dockerhub
uses: docker/login-action@v2
with:
username: ${{ github.actor }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: docker-meta
id: meta
uses: docker/metadata-action@v4
with:
images: |-
ghcr.io/${{ github.repository }}
${{ github.repository }}
tags: |-
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=pr,enable=${{ github.event_name == 'pull_request' }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
- name: docker-build-and-push
id: build-and-push
uses: docker/build-push-action@v3
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
pull: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}