Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/actions/build-and-tag-locally/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,26 @@ runs:
exit 1
fi

- name: Test the entrypoint
id: test_entrypoint
if: ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
shell: bash
run: >
cd test && env
PLATFORM=${{ steps.platform.outputs.display_name }}
REDIS_IMG=${{ github.sha }}:${{ steps.platform.outputs.display_name }}
./run-entrypoint-tests.sh
-- --output-junit-xml=report-entrypoint.xml

- name: Test Report
uses: dorny/test-reporter@v2
# run this step even if previous step failed, but not if it was skipped
if: ${{ !cancelled() && steps.test_entrypoint.conclusion != 'skipped' }}
with:
name: Entrypoint Tests
path: test/report-entrypoint.xml
reporter: java-junit

- name: Push image
uses: docker/build-push-action@v6
if: ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
Expand All @@ -212,4 +232,4 @@ runs:
push: true
tags: ${{ inputs.registry_repository }}:${{ github.sha }}-${{ inputs.distribution }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
128 changes: 116 additions & 12 deletions alpine/docker-entrypoint.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

130 changes: 117 additions & 13 deletions debian/docker-entrypoint.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading