|
71 | 71 | file: coverage.lcov |
72 | 72 | allow-empty: true |
73 | 73 |
|
| 74 | + docker-build-images: |
| 75 | + name: "Docker: Build Images" |
| 76 | + needs: [golangci-lint, go-test, go-coverage, chart-testing] |
| 77 | + uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@0.15.0 |
| 78 | + permissions: |
| 79 | + actions: write |
| 80 | + contents: read |
| 81 | + id-token: write |
| 82 | + issues: read |
| 83 | + packages: write |
| 84 | + pull-requests: read |
| 85 | + secrets: |
| 86 | + oci-registry-password: ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }} |
| 87 | + with: |
| 88 | + runs-on: '["self-hosted"]' |
| 89 | + oci-registry: "docker.io" |
| 90 | + oci-registry-username: ${{ vars.DOCKERHUB_REGISTRY_USERNAME }} |
| 91 | + images: | |
| 92 | + [{ |
| 93 | + "name": "http-header-authenticator", |
| 94 | + "repository": "webofmars", |
| 95 | + "tag": "${{ inputs.tag }}", |
| 96 | + "dockerfile": "./Dockerfile", |
| 97 | + "platforms": [ |
| 98 | + "linux/amd64", |
| 99 | + "linux/arm64" |
| 100 | + ] |
| 101 | + }] |
| 102 | +
|
74 | 103 | chart-testing: |
75 | 104 | name: "Helm: Chart Testing" |
76 | 105 | runs-on: self-hosted |
@@ -112,30 +141,3 @@ jobs: |
112 | 141 | - name: Run chart-testing (install) |
113 | 142 | if: steps.list-changed.outputs.changed == 'true' |
114 | 143 | run: ct install --target-branch ${{ github.event.repository.default_branch }} |
115 | | - |
116 | | - docker-build-images: |
117 | | - name: "Docker: Build Images" |
118 | | - needs: [golangci-lint, go-test, go-coverage, chart-testing] |
119 | | - uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@0.15.0 |
120 | | - permissions: |
121 | | - actions: write |
122 | | - contents: read |
123 | | - id-token: write |
124 | | - issues: read |
125 | | - packages: write |
126 | | - pull-requests: read |
127 | | - secrets: |
128 | | - oci-registry-password: ${{ secrets.GITHUB_TOKEN }} |
129 | | - with: |
130 | | - runs-on: '["self-hosted"]' |
131 | | - oci-registry: "ghcr.io" |
132 | | - images: | |
133 | | - [{ |
134 | | - "name": "app", |
135 | | - "tag": "${{ inputs.tag }}", |
136 | | - "dockerfile": "./Dockerfile", |
137 | | - "platforms": [ |
138 | | - "linux/amd64", |
139 | | - "linux/arm64" |
140 | | - ] |
141 | | - }] |
|
0 commit comments