Skip to content

Prettier.

Prettier. #56

Workflow file for this run

name: docker-main
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# This is required by aws-actions.
#
permissions:
id-token: write
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hadolint/[email protected]
with:
recursive: true
ignore: DL3018
build:
runs-on: ubuntu-latest
steps:
- uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWSROLE }}
aws-region: us-east-1
- uses: aws-actions/amazon-ecr-login@v1
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v3
with:
push: true
context: .
file: Dockerfile
platforms: linux/amd64
tags: ${{ secrets.REGISTRY }}/0x/event-pipeline:${{ github.sha }}