Skip to content

build docker image in CI (#15) #1

build docker image in CI (#15)

build docker image in CI (#15) #1

Workflow file for this run

# Workflow to build and push Docker image to Docker Hub
on:
release:
types: [published]
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: iulusoy/donation-webserver-frontend:latest