fix(docker-release): Run Docker test only if image is built (#1430)

Currently, During docker release we don't actually build the
alpine release but the new docker run test ends up trying to
run it and fails. This adds the same toggle that we use for
build to prevent the test step.
This commit is contained in:
Tarun Pothulapati 2023-06-19 09:16:29 +05:30 committed by GitHub
parent 3aa7c0d7a8
commit 1884ea3ef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,8 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Test Docker run
- if: ${{ hashFiles(format('{0}-{1}', matrix.dockerfile, inputs.build_type)) }}
name: Test Docker run
run: |
# docker run with port-forwarding
# install redis-tools