Merge pull request #22 from pepepr08/fix-21-update-ubuntu #77
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: Docker Build & Push Action | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-rtems-6: | |
| name: Build and Push qemu-rtems-6 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Build and Push | |
| uses: mr-smithers-excellent/docker-build-push@v5 | |
| with: | |
| image: qemu-rtems-6 | |
| dockerfile: rtems-6/Dockerfile | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| tags: latest | |
| build-rtems-5: | |
| name: Build and Push qemu-rtems-5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Build and Push | |
| uses: mr-smithers-excellent/docker-build-push@v5 | |
| with: | |
| image: qemu-rtems-5 | |
| dockerfile: rtems-5/Dockerfile | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| tags: latest | |
| build-rtems-4-11: | |
| name: Build and Push qemu-rtems-4-11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Build and Push | |
| uses: mr-smithers-excellent/docker-build-push@v5 | |
| with: | |
| image: qemu-rtems-4-11 | |
| dockerfile: rtems-4.11/Dockerfile | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| tags: latest | |
| mcdc: | |
| name: Build and Push mcdc | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Build and Push | |
| uses: mr-smithers-excellent/docker-build-push@v5 | |
| with: | |
| image: mcdc | |
| dockerfile: mcdc/Dockerfile | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| tags: latest |