Skip to content

Commit

Permalink
del main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kavishka-sulakshana authored Apr 16, 2024
1 parent 814ba02 commit 21763c0
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1 @@
name: Push to Docker Hub - BOT
on:
push:
branches:
- main
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
REPO_NAME: kavishkasula/telebot
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
- name: Build and push image
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ env.REPO_NAME }}

0 comments on commit 21763c0

Please sign in to comment.