Skip to content

Merge pull request #9 from italankin/dependabot/pip/urllib3-1.26.19 #17

Merge pull request #9 from italankin/dependabot/pip/urllib3-1.26.19

Merge pull request #9 from italankin/dependabot/pip/urllib3-1.26.19 #17

Workflow file for this run

name: Publish a Docker image
on:
push:
branches: [ 'master' ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log in to ghcr.io
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.DEPLOY_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest