On 1920 update oil gas refining ct 2023 #74
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: Push mageai to the latest deploy helm chart to Amazon EKS | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- global-api/importer-mage/** | |
- charts/mage-ai/** | |
- .github/workflows/mage-ai-develop.yml | |
branches: ["develop"] | |
pull_request: | |
paths: | |
- global-api/importer-mage/** | |
jobs: | |
pushToGHCR: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./global-api/importer-mage | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Log in to the Container registry | |
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Pushing mageai to GHCR | |
env: | |
VERSION: ${{ github.sha }} | |
IMAGE: ghcr.io/open-earth-foundation/citycatalyst-mage-ai | |
run: | | |
docker build -t $IMAGE:$VERSION . | |
docker tag $IMAGE:$VERSION $IMAGE:latest | |
docker push $IMAGE:$VERSION | |
docker push $IMAGE:latest |