Skip to content

Update dependency urllib3 to v1.26.18 [SECURITY] #24

Update dependency urllib3 to v1.26.18 [SECURITY]

Update dependency urllib3 to v1.26.18 [SECURITY] #24

Workflow file for this run

name: Build image
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
main:
runs-on: ubuntu-20.04
env:
AZURE_CONTAINER_REGISTRY_URL: hmctspublic.azurecr.io
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Login to Azure Container Repository
uses: docker/login-action@v2
with:
registry: ${{ env.AZURE_CONTAINER_REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Generate build ID
id: prep
run: |
sha=${GITHUB_SHA::8}
ts=$(date +%s)
echo "::set-output name=BUILD_ID::${sha}-${ts}"
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v4
with:
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ env.AZURE_CONTAINER_REGISTRY_URL }}/rpe/response-api:pr-${{ steps.prep.outputs.BUILD_ID }}