mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
changing build yaml
This commit is contained in:
parent
2d00c7d612
commit
c83b1bcb8e
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -3,7 +3,7 @@ on: workflow_dispatch
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-on-aws-instace:
|
build-on-aws-instace:
|
||||||
runs-on: [self-hosted,linux]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: 'check out repository'
|
name: 'check out repository'
|
||||||
@ -15,8 +15,6 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build the hello-docker Docker image
|
- name: Build the agent
|
||||||
run: |
|
run: |
|
||||||
docker build . --tag ghcr.io/orianelou/hello-docker-gcr-demo:latest
|
./scripts/entry.sh agent ubuntu focal
|
||||||
docker run ghcr.io/orianelou/hello-docker-gcr-demo:latest
|
|
||||||
docker push ghcr.io/orianelou/hello-docker-gcr-demo:latest
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user