2020-10-23 21:49:29 +02:00
|
|
|
name: Docker
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: 'Checkout GitHub Action'
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build and push docker
|
2020-10-23 21:51:55 +02:00
|
|
|
uses: docker/build-push-action@v2
|
2020-10-23 21:49:29 +02:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
|
|
repository: DOCKER_REPOSITORY
|
|
|
|
tags: latest
|