Skip to content

Bump swagger-ui from 5.10.1 to 5.10.3 in /cmd/alpacascloud/web #1649

Bump swagger-ui from 5.10.1 to 5.10.3 in /cmd/alpacascloud/web

Bump swagger-ui from 5.10.1 to 5.10.3 in /cmd/alpacascloud/web #1649

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
go_pipeline:
name: Go build and static analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
id: go
- uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: actions/checkout@v4
- name: Prepare environment
run: sudo apt -y update && sudo apt-get -y install libvips-dev
- name: Build web app
run: cd cmd/alpacascloud/web/ && npm install && npm run build
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build cmd/alpacascloud/main.go
- name: Staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@2022.1.3 && staticcheck -checks 'all,-ST1000,-SA1019' ./...
docker-image-image-api-server:
name: Build & scan Docker image Image API server
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: |
docker build -t test-build-image-api-server -f image-api-server.dockerfile .
docker run test-build-image-api-server || test $? -eq 1
- name: Anchore scan
id: scan
uses: anchore/scan-action@v3.3.7
with:
image: "test-build-image-api-server"
fail-build: false
acs-report-enable: true
- name: Upload Anchore scan SARIF report
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.scan.outputs.sarif }}