github action

This commit is contained in:
Amit Serper 2023-12-04 20:57:08 -05:00
parent 53075c8b97
commit 1bbe8d42a3

20
.github/workflows/masto-rss.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Masto-rss
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build & Push Image
run: |
echo "${{ secrets.DH_PASSWORD }}" | docker login -u "amitserper" --password-stdin
docker build -t amitserper/masto-rss .
docker push amitserper/masto-rss