Skip to content

Merge pull request #67 from DataDog/TRAIN-1429-python-logs #11

Merge pull request #67 from DataDog/TRAIN-1429-python-logs

Merge pull request #67 from DataDog/TRAIN-1429-python-logs #11

Workflow file for this run

name: Discounts
on:
push:
branches: [ main ]
paths:
- services/discounts/**
workflow_dispatch:
branches: [ main ]
defaults:
run:
working-directory: discounts
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to ECR
id: login-ecr
uses: docker/[email protected]
with:
registry: public.ecr.aws
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ./services/discounts
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.PUBLIC_ECR_REGISTRY }}/storedog/discounts:latest