Skip to content
Permalink
master
Switch branches/tags
View runs Go to file
 
 
Cannot retrieve contributors at this time
name: Build and publish scrapyd image
on:
push:
paths:
- 'scrapyd/**'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build scrapyd --tag image
- name: Log into registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u wattlebird --password-stdin
- name: Push image
run: |
docker tag image wattlebird/scrapyd:latest
docker push wattlebird/scrapyd:latest