|
42 | 42 | steps: |
43 | 43 | - uses: actions/checkout@v4 |
44 | 44 | - run: PATH=$PATH:$GOPATH/bin TARGET_DIRECTORY=. make docker-agentk |
| 45 | +# Removed duplicate docker build steps below |
| 46 | +# publish-debug-docker: |
| 47 | +# name: Build and push debug kas containers |
| 48 | +# runs-on: ubuntu-20.04 |
| 49 | +# permissions: |
| 50 | +# contents: 'read' |
| 51 | +# id-token: 'write' |
| 52 | +# packages: 'write' |
| 53 | +# strategy: |
| 54 | +# matrix: |
| 55 | +# image: [kas-debug, agentk-debug] |
| 56 | +# include: |
| 57 | +# - image: kas-debug |
| 58 | +# dockerfile: ./build/docker/kas.debug.Dockerfile |
| 59 | +# - image: agentk-debug |
| 60 | +# dockerfile: ./build/docker/agentk.debug.Dockerfile |
| 61 | +# steps: |
| 62 | +# - name: Checkout |
| 63 | +# uses: actions/checkout@v4 |
| 64 | +# with: |
| 65 | +# fetch-depth: 0 |
| 66 | +# - name: Docker meta |
| 67 | +# id: meta |
| 68 | +# uses: docker/metadata-action@v5 |
| 69 | +# with: |
| 70 | +# images: | |
| 71 | +# ghcr.io/pluralsh/${{ matrix.image }} |
| 72 | +# tags: | |
| 73 | +# type=sha |
| 74 | +# type=ref,event=pr |
| 75 | +# type=ref,event=branch |
| 76 | +# - name: Set up QEMU |
| 77 | +# uses: docker/setup-qemu-action@v3 |
| 78 | +# - name: Set up Docker Buildx |
| 79 | +# uses: docker/setup-buildx-action@v3 |
| 80 | +# - name: Login to Container registry |
| 81 | +# uses: docker/login-action@v3 |
| 82 | +# with: |
| 83 | +# registry: ghcr.io |
| 84 | +# username: ${{ github.repository_owner }} |
| 85 | +# password: ${{ secrets.GITHUB_TOKEN }} |
| 86 | +# - name: Login to Docker |
| 87 | +# uses: docker/login-action@v3 |
| 88 | +# with: |
| 89 | +# username: mjgpluralsh |
| 90 | +# password: ${{ secrets.DOCKER_ACCESS_TOKEN }} |
| 91 | +# - name: Build and push |
| 92 | +# uses: docker/build-push-action@v5 |
| 93 | +# with: |
| 94 | +# context: "." |
| 95 | +# file: "${{ matrix.dockerfile }}" |
| 96 | +# push: true |
| 97 | +# tags: ${{ steps.meta.outputs.tags }} |
| 98 | +# labels: ${{ steps.meta.outputs.labels }} |
| 99 | +# platforms: linux/amd64,linux/arm64 |
| 100 | +# cache-from: type=gha |
| 101 | +# cache-to: type=gha,mode=max |
| 102 | +# build-args: | |
| 103 | +# GIT_COMMIT=${{ github.sha }} |
| 104 | +# |
45 | 105 | test: |
46 | 106 | name: Unit test |
47 | 107 | runs-on: ubuntu-latest |
|
0 commit comments