Skip to content

download files with requests instead #64

download files with requests instead

download files with requests instead #64

name: Create Docker Image
on:
push:
branches: [ master, main ]
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Pull Latest Docker Image
run: docker pull python:3.10-slim
- name: Build Docker Image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{secrets.DOCKER_USERNAME}}/herif_bot-auto:latest