Fix age path #18
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: Build and Push docker & tutor installed images | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-images: | |
strategy: | |
matrix: | |
version: | |
- "14.2.3" | |
- "14.2.4" | |
- "14.2.5" | |
- "15.3.3" | |
- "15.3.4" | |
- "15.3.5" | |
- "15.3.6" | |
- "15.3.7" | |
- "15.3.8" | |
- "15.3.9" | |
- "16.0.0" | |
- "16.0.1" | |
- "16.0.2" | |
- "16.0.3" | |
- "16.0.4" | |
- "16.0.5" | |
- "16.1.0" | |
- "16.1.1" | |
- "16.1.2" | |
- "16.1.3" | |
- "16.1.4" | |
- "16.1.5" | |
- "16.1.7" | |
- "16.1.8" | |
- "17.0.0" | |
- "17.0.1" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Docker Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: docker.io | |
username: abstract2tech | |
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} | |
- name: Build image and push to Docker Hub and GitHub Container Registry | |
run: | | |
docker build --build-arg tutor_release=${{ matrix.version }} -t abstract2tech/tutor-ci:${{ matrix.version }} . | |
docker push abstract2tech/tutor-ci:${{ matrix.version }} |