Skip to content

[+] Update to GH Actions script and Dockerfile #54

[+] Update to GH Actions script and Dockerfile

[+] Update to GH Actions script and Dockerfile #54

name: Build and Deploy to Microsoft Azure Container Apps
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push container image to registry
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/reibot:latest
file: ./Dockerfile
build-args: |
token=${{ secrets.DISCORD_TOKEN }}
- name: Export cookies to file
run: |
echo "${{ secrets.COOKIES }}" > ./cookies