chore(deps): bump github.com/aws/aws-sdk-go-v2/service/ec2 from v1.11… #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
release: | |
name: Release | |
uses: ./.github/workflows/reusable-release.yaml | |
with: | |
goreleaser_config: goreleaser.yml | |
goreleaser_options: '--clean --timeout 90m' | |
secrets: inherit | |
deploy-packages: | |
name: Deploy rpm/dep packages | |
needs: release # run this job after 'release' job completes | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Restore Trivy binaries from cache | |
uses: actions/[email protected] | |
with: | |
path: dist/ | |
key: ${{ runner.os }}-bins-${{github.workflow}}-${{github.sha}} | |
- name: Install dependencies | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y install rpm reprepro createrepo-c distro-info | |
- name: Checkout trivy-repo | |
uses: actions/[email protected] | |
with: | |
repository: ${{ github.repository_owner }}/trivy-repo | |
path: trivy-repo | |
fetch-depth: 0 | |
token: ${{ secrets.ORG_REPO_TOKEN }} | |
- name: Setup git settings | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Teppei Fukuda" | |
- name: Create rpm repository | |
run: ci/deploy-rpm.sh | |
- name: Import GPG key | |
run: echo -e "${{ secrets.GPG_KEY }}" | gpg --import | |
- name: Create deb repository | |
run: ci/deploy-deb.sh |