Updated the README file. #74
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: Package | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 * * MON' | |
concurrency: | |
group: '${{ github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
package: | |
name: Build and upload the image (${{ matrix.version }}) | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- latest | |
- 22.05 | |
- 18.01 | |
steps: | |
- name: Prepare the virtual environment | |
uses: hausgold/actions/ci@master | |
with: | |
clone_token: '${{ secrets.CLONE_TOKEN }}' | |
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}' | |
settings: '${{ github.repository }}' | |
target: ci/noop | |
- uses: actions/checkout@v4 | |
- name: Configure IMAGE_REF | |
run: var IMAGE_REF '${{ matrix.version }}' | |
- name: Build the Docker image | |
run: make -C '${{ matrix.version }}' build | |
- name: Run the Smoke Test on the Docker image | |
run: make -C '${{ matrix.version }}' test | |
- name: Upload the Docker image | |
run: make -C '${{ matrix.version }}' publish |