Skip to content

Bump google.golang.org/api from 0.102.0 to 0.176.1 #667

Bump google.golang.org/api from 0.102.0 to 0.176.1

Bump google.golang.org/api from 0.102.0 to 0.176.1 #667

name: Test Build the Docker Image
on:
workflow_dispatch:
# Allow manual triggers via GitHub Actions tab
pull_request:
types: [opened, reopened, edited, synchronize]
branches:
- master
jobs:
test-docker-image-build:
name: Build Image and Run Trivy Scan
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Create a test tag
run: echo "image-tag=ts-bridge:test" >> $GITHUB_ENV
- name: Build Docker Image
uses: docker/build-push-action@v5
with:
push: false
tags: ${{ env.image-tag }}
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: ${{ env.image-tag }}
format: "table"
ignore-unfixed: true
exit-code: "1" # Exit with 1 if vulnerabilities listed below are found.