Skip to content

Rename Huy Du's talk #404

Rename Huy Du's talk

Rename Huy Du's talk #404

Workflow file for this run

name: Test
on: pull_request
env:
DOCKER_IMAGE: '${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}'
jobs:
test:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout repository
uses: actions/[email protected]
with:
submodules: true
- name: Set env BRANCH_TAG
uses: nimblehq/[email protected]
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker pull
if: env.BRANCH_TAG != 'latest' && env.BRANCH_TAG != 'develop'
run: docker-compose -f docker-compose.test.yml pull || true
- name: Build Docker image
run: docker-compose -f docker-compose.test.yml build
- name: Docker push
run: docker-compose -f docker-compose.test.yml push
- name: HTML Linter
run: ./bin/docker-test