Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: Build binary
run: |
cd example && GOOS=linux go build -v -a -o main main.go && zip deployment.zip main

- name: deploy zip
uses: ./
with:
Expand All @@ -26,7 +27,6 @@ jobs:
aws_region: ${{ secrets.AWS_REGION }}
function_name: gorush
zip_file: example/deployment.zip
debug: true

- name: update env
uses: ./
Expand Down Expand Up @@ -122,6 +122,15 @@ jobs:
publish: false
max_attempts: 200

- name: deploy source code
uses: ./
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
function_name: gorush
source: example/main.go,example/go.mod,example/go.sum

# deploy_source:
# name: deploy lambda from source
# runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/appleboy/drone-lambda:1.3.5
FROM ghcr.io/appleboy/drone-lambda:1.3.6

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ inputs:
description: 'Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.'
max_attempts:
description: 'the maximum number of times the waiter should attempt to check the resource for the target state'
default: 300
default: 600

runs:
using: 'docker'
Expand Down