Create docker-publish.yml

This commit is contained in:
InsanusMokrassar 2022-11-14 15:06:31 +06:00 committed by GitHub
parent 7bb2040755
commit 7f09bb35a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.github/workflows/docker-publish.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Docker
on:
push:
branches:
- master
jobs:
publishing:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log into registry
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Deploy
run: ./deploy