wip; #15
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: GitHub Actions | |
on: push | |
env: | |
REPO: lazerg/laravel | |
DOCKER_USER: ${{secrets.DOCKER_USER}} | |
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
jobs: | |
php80: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: docker login | |
run: | | |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
- name: Build the Docker image | |
run: docker build . --file php80.Dockerfile --tag $REPO:php80 | |
- name: Docker push as php80 | |
run: docker push $REPO:php80 | |
php81: | |
needs: php80 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: docker login | |
run: | | |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
- name: Build the Docker image | |
run: docker build . --file php81.Dockerfile --tag $REPO:php81 | |
- name: Docker push as php81 | |
run: docker push $REPO:php81 | |
php82: | |
needs: php81 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: docker login | |
run: | | |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
- name: Build the Docker image | |
run: docker build . --file php82.Dockerfile --tag $REPO:php82 | |
- name: Docker push as php82 | |
run: docker push $REPO:php82 | |
php83: | |
needs: php82 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: docker login | |
run: | | |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
- name: Build the Docker image | |
run: docker build . --file php83.Dockerfile --tag $REPO:latest --tag $REPO:php83 | |
- name: Docker push as latest | |
run: docker push $REPO:latest | |
- name: Docker push as php83 | |
run: docker push $REPO:php83 |