2.2.4 updated libhxl version + add dependabot #281
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: Create image | |
on: | |
push: | |
branches: | |
- main | |
- prod | |
- test | |
- dev | |
- hdx-* | |
- hxl-* | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
id: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Tag Info | |
id: tag_info | |
run: | | |
export IMAGE_TAG="${GITHUB_REF#refs/*/}" | |
export IMAGE_TAG=${IMAGE_TAG//[^[:alnum:].-]/-} | |
echo ::set-output name=IMAGE_TAG::${IMAGE_TAG} | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- name: Login to Public ECR | |
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | |
with: | |
registry: public.ecr.aws | |
username: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
password: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
env: | |
AWS_REGION: us-east-1 | |
- name: Build, tag, and push image to Amazon ECR | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: public.ecr.aws/unocha/hxl-proxy:${{ steps.tag_info.outputs.IMAGE_TAG }} |