Compare commits

2 Commits
main ... dev

Author SHA1 Message Date
gabrielkheisa
43e540d7b0 Deployment using Docker 2024-04-14 14:39:20 +07:00
gabrielkheisa
1410f1c3d8 remove parallelism 2024-04-14 13:17:07 +07:00
2 changed files with 0 additions and 37 deletions

View File

@@ -1,23 +0,0 @@
name: Build and Publish Docker Image
on:
push:
branches:
- main # Trigger the workflow on pushes to the main branch
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to GitHub Packages Docker registry
run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.repository_owner }} --password-stdin
- name: Build Docker image
run: docker build -t docker.pkg.github.com/${{ github.repository }}/${{ github.repository }}:latest .
- name: Push Docker image
run: docker push docker.pkg.github.com/${{ github.repository }}/${{ github.repository }}:latest

View File

@@ -80,20 +80,6 @@ This micro web server does not directly download the Instagram Reels video. It s
sudo docker run -d -p 8080:8080 instagram-downloader
```
### With existing Docker Image
1. Pull the Docker image
```
sudo docker pull ghcr.io/gabrielkheisa/instagram-downloader/gabrielkheisa/instagram-downloader:latest
```
2. Run the container
```
sudo docker run -d -p 8080:8080 ghcr.io/gabrielkheisa/instagram-downloader/gabrielkheisa/instagram-downloader
```
## Usage