Spaces:
Paused
Paused
Delete .github
Browse files- .github/workflows/docker.yml +0 -29
.github/workflows/docker.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
name: Build and Push Docker Image
|
2 |
-
|
3 |
-
on:
|
4 |
-
push:
|
5 |
-
branches:
|
6 |
-
- main
|
7 |
-
|
8 |
-
jobs:
|
9 |
-
push_to_registry:
|
10 |
-
name: Push Docker image to Docker Hub
|
11 |
-
runs-on: ubuntu-latest
|
12 |
-
permissions:
|
13 |
-
contents: read
|
14 |
-
packages: write
|
15 |
-
steps:
|
16 |
-
- name: Check out the repo
|
17 |
-
uses: actions/checkout@v3
|
18 |
-
|
19 |
-
- name: Login to GitHub Container Registry
|
20 |
-
uses: docker/login-action@v1
|
21 |
-
with:
|
22 |
-
registry: ghcr.io
|
23 |
-
username: ${{ github.actor }}
|
24 |
-
password: ${{ secrets.GITHUB_TOKEN }}
|
25 |
-
|
26 |
-
- name: 'Build Inventory Image'
|
27 |
-
run: |
|
28 |
-
docker build . --tag ghcr.io/orrnobmahmud/moonbixauto:latest
|
29 |
-
docker push ghcr.io/orrnobmahmud/moonbixauto:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|