Skip to content

Commit

Permalink
feat: change to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
NichArchA82 committed Oct 20, 2024
1 parent afa6017 commit 393fd29
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-packer-qemu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Packer build qemu

on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- id: install-aws-cli
uses: unfor19/install-aws-cli-action@v1
with:
version: 2 # default
verbose: false # default
arch: amd64 # allowed values: amd64, arm64

- name: copy file to s3 storage
run: |
touch test.txt
aws s3 cp test.txt s3://${{ secrets.S3_BUCKET }}/test.txt --acl public-read
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.S3_BUCKET_REGION }}

0 comments on commit 393fd29

Please sign in to comment.