mirror of
https://github.com/gabrielkheisa/instagram-downloader.git
synced 2025-10-03 16:29:21 +00:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c83b842968 | ||
|
c293cf5e67 | ||
|
2cb5041524 | ||
|
e3d935f6da | ||
|
107c837fe8 |
23
.github/workflows/docker-image.yml
vendored
Normal file
23
.github/workflows/docker-image.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
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
|
14
README.md
14
README.md
@@ -80,6 +80,20 @@ This micro web server does not directly download the Instagram Reels video. It s
|
|||||||
sudo docker run -d -p 8080:8080 instagram-downloader
|
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
|
## Usage
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user