Merge pull request #238 from Muscraft/rust-1.87.0 #103
This file contains hidden or 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: CI | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
#RUST_VERSION | |
RUST_VERSION: 1.87.0 | |
#RUST_VERSION | |
strategy: | |
matrix: | |
include: | |
#VERSIONS | |
- name: bullseye | |
variant: bullseye | |
- name: slim-bullseye | |
variant: bullseye/slim | |
- name: bookworm | |
variant: bookworm | |
- name: slim-bookworm | |
variant: bookworm/slim | |
- name: alpine3.20 | |
variant: alpine3.20 | |
- name: alpine3.21 | |
variant: alpine3.21 | |
#VERSIONS | |
name: ${{ matrix.name }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git clone https://github.com/docker-library/official-images.git ~/official-images | |
- run: docker build -t rust:$RUST_VERSION-${{ matrix.name }} stable/${{ matrix.variant }} | |
- run: ~/official-images/test/run.sh rust:$RUST_VERSION-${{ matrix.name }} | |
- run: docker images |