Bump github.com/chromedp/chromedp from 0.9.5 to 0.10.0 #39
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: Docker push | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docker_publish: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKER_PASS: ${{ secrets.DOCKERHUB_PASSWORD }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Login to Docker hub | |
run: docker login -u $DOCKER_USER -p $DOCKER_PASS | |
- name: Build image | |
run: | | |
pwd | |
ls -l | |
docker build -t ${{ github.repository }} -f Dockerfile . | |
- name: Publish image | |
run: | | |
docker tag ${{ github.repository }} ${{ github.repository }}:latest | |
docker push ${{ github.repository }} |