Support custom redis port #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build_dockerfile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hadolint/[email protected] | |
name: Lint Dockerfile | |
with: | |
dockerfile: Dockerfile | |
ignore: DL3007,DL3018 | |
- name: Build Dockerfile | |
run: docker build . --file Dockerfile --tag redis:$(date +%s) | |
build_dockerfile_exporter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hadolint/[email protected] | |
name: Lint Dockerfile.exporter | |
with: | |
dockerfile: Dockerfile.exporter | |
ignore: DL3007,DL3018 | |
- name: Build Dockerfile.exporter | |
run: docker build . --file Dockerfile.exporter --tag redis-exporter:$(date +%s) | |
build_dockerfile_sentinel: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hadolint/[email protected] | |
name: Lint Dockerfile.sentinel | |
with: | |
dockerfile: Dockerfile.sentinel | |
ignore: DL3007,DL3018 | |
- name: Build Dockerfile.sentinel | |
run: docker build . --file Dockerfile.sentinel --tag redis-sentinel:$(date +%s) |