Skip to content

Commit e184fb5

Browse files
authored
Update README.md
1 parent ba04383 commit e184fb5

File tree

1 file changed

+0
-51
lines changed

1 file changed

+0
-51
lines changed

README.md

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,6 @@ Environment variables:
1111
- `IMAGES`: Updated images (comma-separated list)
1212
- `IMAGE_TAG`: Image tag generated in current build
1313
- `KUSTOMIZATION`: Kustomization path relative to the project root
14-
## Github Actions Example
15-
```yaml
16-
name: Publish and Deploy Docker image
17-
18-
on:
19-
push:
20-
branches:
21-
- main
22-
23-
jobs:
24-
publish_deploy:
25-
name: Publish and Deploy Docker image
26-
runs-on: ubuntu-latest
27-
steps:
28-
- name: Check out the repo
29-
uses: actions/checkout@v2
30-
31-
- name: Log in to Container Registry
32-
uses: docker/login-action@v1
33-
with:
34-
registry: harbor.mycompany.com
35-
username: ${{ secrets.DOCKER_USERNAME }}
36-
password: ${{ secrets.DOCKER_PASSWORD }}
37-
38-
- name: Extract metadata (tags, labels)
39-
id: meta
40-
uses: docker/metadata-action@v3
41-
with:
42-
images: harbor.mycompany.com/myuser/mysvc1
43-
44-
- name: Build and push Docker image
45-
uses: docker/build-push-action@v2
46-
with:
47-
context: .
48-
push: true
49-
tags: ${{ steps.meta.outputs.tags }}
50-
labels: ${{ steps.meta.outputs.labels }}
51-
52-
- name: Deploy Docker Image
53-
uses: minghsu0107/update-kustomization
54-
env:
55-
SSH_KEY: ${{ secrets.SSH_KEY }}
56-
MANIFEST_HOST: git.mycompany.com
57-
MANIFEST_USER: myuser
58-
MANIFEST_USER_EMAIL: myuser@mycompany.com
59-
MANIFEST_REPO: myapp-manifests
60-
MANIFEST_BRANCH: main
61-
IMAGES: harbor.mycompany.com/myuser/mysvc1
62-
IMAGE_TAG: ${{ steps.meta.outputs.tags }}
63-
KUSTOMIZATION: overlays/production
64-
```
6514
## Drone Usage Example
6615
```yaml
6716
kind: pipeline

0 commit comments

Comments
 (0)