chore(deps): update all non-major github action dependencies #654
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 containers CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
env: | |
GITHUB_SHA: ${{ github.sha }} | |
REGISTRY: 283582579564.dkr.ecr.ca-central-1.amazonaws.com/sre-bot | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Audit DNS requests | |
uses: cds-snc/dns-proxy-action@main | |
env: | |
DNS_PROXY_FORWARDTOSENTINEL: "true" | |
DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }} | |
DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }} | |
- name: Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- name: Build container | |
working-directory: ./app | |
run: | | |
docker build \ | |
--build-arg git_sha=$GITHUB_SHA \ | |
--build-arg LICENSE_KEY=${{ secrets.MAXMIND_LICENSE }} \ | |
-t $REGISTRY/sre-bot:$GITHUB_SHA-`date '+%Y-%m-%d'` \ | |
-t $REGISTRY/sre-bot:latest . |