|
12 | 12 | - pyproject.toml
|
13 | 13 | - poetry.lock
|
14 | 14 | - build.gradle
|
15 |
| - |
16 | 15 | jobs:
|
17 |
| - build: |
18 |
| - runs-on: ubuntu-latest |
19 |
| - steps: |
20 |
| - - name: Delete huge unnecessary tools folder |
21 |
| - run: rm -rf /opt/hostedtoolcache |
22 |
| - - name: Checkout (GitHub) |
23 |
| - uses: actions/checkout@v3 |
24 |
| - - name: Set up QEMU for multi-architecture builds |
25 |
| - uses: docker/setup-qemu-action@v1 |
26 |
| - - name: Setup Docker buildx for multi-architecture builds |
27 |
| - uses: docker/setup-buildx-action@v2 |
28 |
| - with: |
29 |
| - use: true |
30 |
| - - name: Login to GitHub Container Registry |
31 |
| - uses: docker/login-action@v2 |
32 |
| - with: |
33 |
| - registry: ghcr.io |
34 |
| - username: ${{ github.repository_owner }} |
35 |
| - password: ${{ secrets.GITHUB_TOKEN }} |
36 |
| - - name: Create envfile |
37 |
| - run: | |
38 |
| - echo 'GITHUB_USER=${{ github.repository_owner }}' >> .env |
39 |
| - echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' >> .env |
40 |
| - - name: Prune |
41 |
| - uses: vlaurin/action-ghcr-prune@v0.5.0 |
42 |
| - with: |
43 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
44 |
| - organization: ${{ github.repository_owner }} |
45 |
| - container: ${{ github.event.repository.name }} |
46 |
| - keep-last: 6 |
47 |
| - continue-on-error: true |
48 |
| - - name: Build and push |
49 |
| - uses: docker/build-push-action@v4 |
50 |
| - with: |
51 |
| - tags: ghcr.io/${{ github.repository }}:devcontainer |
52 |
| - push: true |
53 |
| - file: .devcontainer/Dockerfile |
54 |
| - context: . |
55 |
| - platforms: linux/amd64,linux/arm64 |
56 |
| - build-args: |- |
57 |
| - FURY_AUTH=${{ secrets.FURY_AUTH }} |
| 16 | + call-workflow-passing-data: |
| 17 | + uses: syngenta-digital/script-shell-data-pipelines-orb/.github/workflows/devcontainer.yaml@main |
| 18 | + with: {} |
| 19 | + secrets: |
| 20 | + _github_token: ${{ secrets.GITHUB_TOKEN }} |
| 21 | + _fury_auth: ${{ secrets.FURY_AUTH }} |
0 commit comments