Bump github.com/aws/aws-sdk-go from 1.44.300 to 1.44.333 #36
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: Build Workflow | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout certsquirt | |
uses: actions/checkout@v3 | |
with: | |
path: certsquirt | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: Build CertSquirt | |
run: cd certsquirt && go build -v | |
- name: Install aws-sdk-cpp | |
id: vcpkg | |
uses: johnwason/vcpkg-action@v4 | |
with: | |
pkgs: aws-sdk-cpp[kms] aws-sdk-cpp[acm-pca] | |
triplet: x64-linux-dynamic | |
token: ${{ github.token }} | |
- name: Checkout aws-kms-pkcs11 | |
uses: actions/checkout@v3 | |
with: | |
repository: "JackOfMostTrades/aws-kms-pkcs11" | |
path: aws-kms-pkcs11 | |
- name: Install build dependencies | |
uses: ConorMacBride/install-package@v1 | |
with: | |
apt: build-essential libjson-c-dev libp11-kit-dev libcurl4 libcurl4-openssl-dev | |
- name: Build aws-kms-pkcs11 | |
run: cd aws-kms-pkcs11 && AWS_SDK_PATH=${{ github.workspace }}/vcpkg/installed/x64-linux-dynamic make | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: log in to the container registry | |
uses: docker/[email protected] | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: extract metadata (tags, labels) for docker | |
id: meta | |
uses: docker/[email protected] | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
- name: Build the Docker image | |
uses: docker/[email protected] | |
with: | |
context: . | |
platforms: linux/amd64 | |
push: true | |
file: certsquirt/Dockerfile | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |