Skip to content

chore: Update Dockerfile and docker-compose, add gh action #1

chore: Update Dockerfile and docker-compose, add gh action

chore: Update Dockerfile and docker-compose, add gh action #1

Workflow file for this run

name: Build and Push Docker image
on:
push:
branches:
- master
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: ipajudd/oxbot:latest