Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moalhaddar authored Jun 1, 2024
1 parent f6f9ab4 commit 3d80ca9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docker Image CI

on:
push:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

steps:

- uses: docker/login-action@v3
- name: Login to Docker Hub
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- uses: actions/checkout@v4
- name: Build the Docker image and push to the docker registery
run: |
docker build . --tag moalhaddar/docx-to-pdf:latest
docker push moalhaddar/docx-to-pdf:latest

0 comments on commit 3d80ca9

Please sign in to comment.