Skip to content

setup docker build

setup docker build #1

Workflow file for this run

name: Release Docker Image
on:
push:
branches:
- ci/docker-*
tags:
- '*'
jobs:
docker:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ananthakumaran/paisa
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}