Skip to content

Commit

Permalink
push the data image
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptnull committed Oct 24, 2024
1 parent fd318a2 commit b8c1cde
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ddn-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Generate data
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Generate data and push image
run: |
export NDC_HUB_GIT_REPO_FILE_PATH=$PWD
echo "NDC_HUB_GIT_REPO_FILE_PATH = $NDC_HUB_GIT_REPO_FILE_PATH"
Expand All @@ -34,12 +41,5 @@ jobs:
echo "Running ddn-assets"
./ddn-assets generate
docker build -t ghcr.io/hasura/ndc-hub:data.$GITHUB_SHA .
docker build -t ghcr.io/hasura/ndc-hub:data.$GITHUB_SHA . --push
popd
# - name: Log in to the Container registry
# uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
# with:
# registry: ${{ env.REGISTRY }}
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b8c1cde

Please sign in to comment.