Skip to content

Merge remote-tracking branch 'origin/main' #4

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #4

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build the Docker image
run: |
docker build -t garohrl/lanplay-discordbot:latest .
- name: Push the Docker image
run: |
docker push garohrl/lanplay-discordbot:latest