From 9983f8acfe7790b527a9569654bf626a891ad06d Mon Sep 17 00:00:00 2001 From: Rik Berkelder Date: Tue, 14 Jan 2025 00:04:15 +0100 Subject: [PATCH] initial CI --- .gitea/workflows/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..4ab41fa --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,15 @@ +name: Deploy +on: [push] + +jobs: + Deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: npm i + - run: docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRy_TOKEN}} + - run: docker build . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest + - run: docker push . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest \ No newline at end of file