Quote API Deploy commited on
Commit
30383bc
·
unverified ·
1 Parent(s): 495be9a

chore: hapus .github yang tidak relevan untuk HF Spaces

Browse files
Files changed (1) hide show
  1. .github/workflows/docker.yml +0 -55
.github/workflows/docker.yml DELETED
@@ -1,55 +0,0 @@
1
- name: Docker
2
-
3
- on:
4
- push:
5
- branches: [ "master" ]
6
- pull_request:
7
- branches: [ "master" ]
8
-
9
- env:
10
- REGISTRY: ghcr.io
11
- IMAGE_NAME: ${{ github.repository }}
12
-
13
-
14
- jobs:
15
- build:
16
- runs-on: ubuntu-latest
17
- permissions:
18
- contents: read
19
- packages: write
20
- id-token: write
21
-
22
- steps:
23
- - name: Checkout repository
24
- uses: actions/checkout@v4
25
-
26
- - name: Set up Docker Buildx
27
- uses: docker/setup-buildx-action@v3
28
-
29
- - name: Log into registry ${{ env.REGISTRY }}
30
- if: github.event_name != 'pull_request'
31
- uses: docker/login-action@v3
32
- with:
33
- registry: ${{ env.REGISTRY }}
34
- username: ${{ github.actor }}
35
- password: ${{ secrets.GITHUB_TOKEN }}
36
-
37
- - name: Extract Docker metadata
38
- id: meta
39
- uses: docker/metadata-action@v5
40
- with:
41
- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
42
- tags: |
43
- type=raw,value=latest
44
- type=ref,event=tag
45
- type=sha
46
- - name: Build and push Docker image
47
- id: build-and-push
48
- uses: docker/build-push-action@v5
49
- with:
50
- context: .
51
- push: ${{ github.event_name != 'pull_request' }}
52
- tags: ${{ steps.meta.outputs.tags }}
53
- labels: ${{ steps.meta.outputs.labels }}
54
- cache-from: type=gha
55
- cache-to: type=gha,mode=max