Skip to content

Docker Image CI

Docker Image CI #20

Workflow file for this run

name: Docker Image CI
on:
workflow_run:
workflows: ["Playwright E2E Tests"]
types:
- completed
jobs:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker login
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_PASS }}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASS
- name: Build the Docker image
run: docker build . --file Dockerfile --tag quitotactico/softserve-academy:latest
- name: Docker Push
run: docker push quitotactico/softserve-academy