Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Feb 28, 2024
1 parent 092776e commit 83f886d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,9 @@ jobs:
mkdir "${{ matrix.SOURCE_CONTEXT_DIR }}" && cd "${{ matrix.SOURCE_CONTEXT_DIR }}"
echo "FROM ${BASE_IMAGE}" > Dockerfile
echo "RUN chown 1001:root /usr/bin/caddy" >> Dockerfile
# env:
# context: ${{ matrix.SOURCE_CONTEXT_DIR }}
# SOURCE_IMAGE_REGISTRY: ${{ matrix.SOURCE_IMAGE_REGISTRY }}
# SOURCE_IMAGE_NAME: ${{ matrix.SOURCE_IMAGE_NAME }}
# SOURCE_IMAGE_TAG: ${{ matrix.SOURCE_IMAGE_TAG }}
- name: Prepare docker tags for image
id: meta
# if: contains(fromJSON('["aries-endorser-db","aries-endorser-agent","aries-endorser-backup","aries-endorser-api","aries-endorser-proxy"]'), matrix.service)
uses: docker/metadata-action@v5
with:
images: ${{ env.GITHUB_IMAGE_REPO }}${{ matrix.service }}
Expand All @@ -140,12 +134,6 @@ jobs:
run: |
BASE_IMAGE="${{ matrix.SOURCE_IMAGE_REGISTRY }}${{ matrix.SOURCE_IMAGE_NAME }}:${{ matrix.SOURCE_IMAGE_TAG }}"
sed -i -e "s;FROM .*;FROM ${BASE_IMAGE};g" "${{ matrix.SOURCE_CONTEXT_DIR }}/${{ matrix.DOCKER_FILE_PATH }}"
# env:
# context: ${{ matrix.SOURCE_CONTEXT_DIR }}
# SOURCE_IMAGE_REGISTRY: ${{ matrix.SOURCE_IMAGE_REGISTRY }}
# SOURCE_IMAGE_NAME: ${{ matrix.SOURCE_IMAGE_NAME }}
# SOURCE_IMAGE_TAG: ${{ matrix.SOURCE_IMAGE_TAG }}
# file: ${{ matrix.SOURCE_CONTEXT_DIR }}/${{ matrix.DOCKER_FILE_PATH }}
- name: Extract Tags
id: extract
Expand Down

0 comments on commit 83f886d

Please sign in to comment.