CON-2020 pig_latin #122
Workflow file for this run
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: π³ On Branch - Build and Test Docker Image | |
on: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build-image: | |
name: ποΈ Build Image | |
runs-on: ubuntu-latest | |
steps: | |
- name: π§ Checkout | |
uses: actions/checkout@v3 | |
- name: π¦ Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: π³ Login to docker.01-edu.org Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: docker.01-edu.org | |
username: ${{ secrets.USER_DOCKER_01EDU_ORG }} | |
password: ${{ secrets.SECRET_DOCKER_01EDU_ORG }} | |
- name: ποΈ Build the π» Sh Docker image | |
if: always() | |
run: | | |
docker build sh/tests/ --file sh/tests/Dockerfile --tag ghcr.io/01-edu/test-sh:PR${{ github.event.pull_request.number }} | |
docker push ghcr.io/01-edu/test-sh:PR${{ github.event.pull_request.number }} | |
- name: ποΈ Build the π JS Docker image | |
if: always() | |
run: | | |
docker build js/tests/ --file js/tests/Dockerfile --tag ghcr.io/01-edu/test-js:PR${{ github.event.pull_request.number }} | |
docker push ghcr.io/01-edu/test-js:PR${{ github.event.pull_request.number }} | |
- name: ποΈ Build the 𧩠DOM Docker image | |
if: always() | |
run: | | |
docker build . --file dom/Dockerfile --tag ghcr.io/01-edu/test-dom:PR${{ github.event.pull_request.number }} | |
docker push ghcr.io/01-edu/test-dom:PR${{ github.event.pull_request.number }} |