Skip to content

Merge pull request #54 from ilyarolf/feature/erc20-trc20-tokens #44

Merge pull request #54 from ilyarolf/feature/erc20-trc20-tokens

Merge pull request #54 from ilyarolf/feature/erc20-trc20-tokens #44

name: Build and Push Docker Image
on:
push:
branches: [master, feature/sqlalchemy-sqlcipher]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/aiogram-shop-bot:latest
- name: clean all
run: rm -rf ./*