diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 316989d..d578006 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -12,8 +12,11 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Setup env + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Build Docker image - run: docker build . -t geode-index:${{ github.ref }} + run: docker build . -t geode-index:${{ env.RELEASE_VERSION }} - name: Push Docker image to index server run: |