Fix action.yml update

Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
Brett Logan 2022-12-23 16:36:18 -05:00
parent afcf97b858
commit 16251e9518

View file

@ -28,9 +28,7 @@ jobs:
with:
fetch-depth: 0
- name: Update action.yml
run: yq '.runs.image = "docker://ghcr.io/github/super-linter:${tag}"' -i action.yml
env:
tag: ${{ matrix.images.image-id }}
run: yq '.runs.image = "docker://ghcr.io/github/super-linter:${{ matrix.images.image-id }}"' -i action.yml && cat action.yml
- name: Retrieve Datetime
run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "${GITHUB_ENV}"
- name: Build Docker Image