Skip to content

Commit

Permalink
use github sha
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptnull committed Oct 24, 2024
1 parent 4d7492e commit 2704da1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ddn-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
- "vishnu/cps-1079-build-and-push-ndc-hubdata-servercommit-sha-docker-images"

env:
DATA_TAG: data.$GITHUB_SHA
DATA_TAG: data.${{ github.sha }}
DATA_SERVER_TAG: data-server.${{ github.sha }}
DDN_ASSETS_VERSION: v0.1.0

jobs:
Expand Down Expand Up @@ -51,5 +52,5 @@ jobs:
- name: Build and push data server image
run: |
pushd docker/server
docker build --build-arg DATA_TAG=$DATA_TAG -t ghcr.io/hasura/ndc-hub:data-server.$GITHUB_SHA . --push
docker build --build-arg DATA_TAG=$DATA_TAG -t ghcr.io/hasura/ndc-hub:$DATA_SERVER_TAG . --push
popd

0 comments on commit 2704da1

Please sign in to comment.