Skip to content

Merge pull request #185 from WEEE-Open/dependabot/pip/requests-2.31.0 #148

Merge pull request #185 from WEEE-Open/dependabot/pip/requests-2.31.0

Merge pull request #185 from WEEE-Open/dependabot/pip/requests-2.31.0 #148

Workflow file for this run

name: Push Docker Image
on:
push:
branches: [ master ]
paths-ignore:
- 'README*'
- 'LICENSE'
jobs:
build-and-push:
runs-on: ubuntu-latest
if: false # github.repository_owner == 'WEEE-Open'
steps:
- uses: actions/checkout@v2
- name: Login to our Docker registry
uses: docker/login-action@v1
with:
registry: ${{secrets.DOCKER_REGISTRY}}
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{secrets.DOCKER_REGISTRY}}/peracotta:latest
- name: Push the Docker Image to our custom registry
run: docker push ${{secrets.DOCKER_REGISTRY}}/peracotta:latest