Skip to content

Commit

Permalink
workflow to push frontend image to dh
Browse files Browse the repository at this point in the history
  • Loading branch information
iulusoy committed Jan 10, 2025
1 parent 1750bf0 commit 634379a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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/#-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

0 comments on commit 634379a

Please # to comment.