2021-08-30 15:10:22 +00:00
|
|
|
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
|
2021-08-30 15:14:50 +00:00
|
|
|
- name: Log into registry
|
2021-08-30 15:10:22 +00:00
|
|
|
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_LOGIN }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2023-12-14 09:28:20 +00:00
|
|
|
- name: Update version
|
|
|
|
run: ./autoupdate.sh
|
2021-08-30 15:14:50 +00:00
|
|
|
- name: Deploy
|
2021-08-30 15:10:22 +00:00
|
|
|
run: ./deploy
|