Skip to content

try of bug fix

try of bug fix #39

Workflow file for this run

name: Docker
on:
workflow_dispatch:
push:
branches:
- main
jobs:
docker:
timeout-minutes: 10
name: Build and publish Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v3.2.0
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5.3.0
with:
context: .
file: ./backend/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/backend_image:latest