Skip to content

Merge pull request #190 from bounswe/create-apk #25

Merge pull request #190 from bounswe/create-apk

Merge pull request #190 from bounswe/create-apk #25

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/[email protected]
- 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/[email protected]
with:
context: .
file: ./backend/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/backend_image:latest