Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #91 from moneymeets/feature/MD-7088-make-use-of-sh…
Browse files Browse the repository at this point in the history
…ared-build-docker-image-action

feat(ci): make use of shared build docker image action
  • Loading branch information
IamAbbey authored Dec 1, 2023
2 parents ed6f9a6 + 7f37d77 commit f62d7b5
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: moneymeets/moneymeets-composite-actions/detect-python-version@master
id: 'detect-versions'

- name: Build image
run: |
docker build \
--build-arg PYTHON_VERSION_CONSTRAINT="${{ steps.detect-versions.outputs.python-version-constraint }}" \
--build-arg POETRY_VERSION="${{ steps.detect-versions.outputs.poetry-version }}" \
-t sepacetamol-ci .
# TODO: share image tag when pushing part is implemented
- uses: moneymeets/moneymeets-composite-actions/build-and-push-image@master
with:
ecr_repository: ${{ vars.APPLICATION_ID }}
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit f62d7b5

Please sign in to comment.