Infra Nginx #102
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 Nginx | |
on: workflow_dispatch | |
jobs: | |
build-stable: | |
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 nginx stable&ffmpeg | |
run: | | |
bash ./build.sh nginx | |
bash ./build.sh nginx ffmpeg | |
build-mainline: | |
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 nginx mainline | |
run: | | |
bash ./build.sh nginx mainline |