1
0
This repository has been archived on 2024-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
Files
role-wizard-discord-bot/.gitea/workflows/build.yaml

27 lines
713 B
YAML

name: Role Wizard discord bot build and push
on:
push:
branches:
- release
jobs:
discord-bot-build:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Build
run: npm run dockerBuild
- name: Login to registry
uses: docker/login-action@v1
with:
registry: gitea.amundsson.eu
username: namundsson@gmail.com
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
run: |
docker build -t gitea.amundsson.eu/n1jos/role-wizard-discord-bot:latest .
docker push gitea.amundsson.eu/n1jos/role-wizard-discord-bot:latest