Skip to content

Commit a4ef110

Browse files
committed
Add github workflow to build docker image
1 parent 62b808b commit a4ef110

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/docker.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build and Push Docker Image
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-push:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Log in to GitHub Container Registry
16+
uses: docker/login-action@v2
17+
with:
18+
registry: ghcr.io
19+
username: ${{ github.actor }}
20+
password: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Build and push Docker image
23+
run: |
24+
docker build -t ghcr.io/Eltion/instagram-ssl-pinning-bypass:latest .
25+
docker push ghcr.io/Eltion/instagram-ssl-pinning-bypass:latest

0 commit comments

Comments
 (0)