changing build yaml

This commit is contained in:
roybarda 2023-05-08 12:30:01 +03:00 committed by GitHub
parent 2d00c7d612
commit c83b1bcb8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ on: workflow_dispatch
jobs:
build-on-aws-instace:
runs-on: [self-hosted,linux]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: 'check out repository'
@ -15,8 +15,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the hello-docker Docker image
- name: Build the agent
run: |
docker build . --tag ghcr.io/orianelou/hello-docker-gcr-demo:latest
docker run ghcr.io/orianelou/hello-docker-gcr-demo:latest
docker push ghcr.io/orianelou/hello-docker-gcr-demo:latest
./scripts/entry.sh agent ubuntu focal