Infra DB #123
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
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: Infra DB | |
on: workflow_dispatch | |
jobs: | |
build-pg-15: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
# https://github.com/docker/login-action | |
- name: Log into docker hub | |
uses: docker/login-action@v2 | |
with: | |
username: sdrzlyz | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build image | |
run: | | |
bash ./build.sh pg 15 | |
build-pg-16: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
# https://github.com/docker/login-action | |
- name: Log into docker hub | |
uses: docker/login-action@v2 | |
with: | |
username: sdrzlyz | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build image | |
run: | | |
bash ./build.sh pg 16 | |
build-pg-17: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
# https://github.com/docker/login-action | |
- name: Log into docker hub | |
uses: docker/login-action@v2 | |
with: | |
username: sdrzlyz | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build image | |
run: | | |
bash ./build.sh pg 17 | |
build-pg-rest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
# https://github.com/docker/login-action | |
- name: Log into docker hub | |
uses: docker/login-action@v2 | |
with: | |
username: sdrzlyz | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build image | |
run: | | |
bash ./build.sh prest | |
build-redis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
# https://github.com/docker/login-action | |
- name: Log into docker hub | |
uses: docker/login-action@v2 | |
with: | |
username: sdrzlyz | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build image | |
run: | | |
bash ./build.sh redis | |
bash ./build.sh redis 7.2 |