diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6c68fbe..125a6ae 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,11 +26,10 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v2 - - name: Build, tag, and push image to Amazon ECR (latest) - env: - REGISTRY: ${{ steps.login-ecr.outputs.registry }} - REPO: olm - IMAGE_TAG: ${{ github.sha }} - run: | - docker build . -t $REGISTRY/$REPO:latest . - docker push $REGISTRY/$REPO:latest + - name: Build and push container image + uses: docker/build-push-action@v6 + with: + context: . + push: true + file: Dockerfile + tags: ${{ steps.login-ecr.outputs.registry }}/olm:latest,${{ steps.login-ecr.outputs.registry }}/olm:${{ github.sha }} diff --git a/src/olm/__init__.py b/src/olm/__init__.py index dab99be..f98c9c2 100644 --- a/src/olm/__init__.py +++ b/src/olm/__init__.py @@ -21,8 +21,8 @@ olm is organised into subcommands: [get] saves linelist data to disk - [list] lists G.h outbreaks that olm supports [lint] lints (checks) an outbreak linelist for errors + [list] lists G.h outbreaks that olm supports [report] generates briefing report for an outbreak """