Skip to content

CI: Fix AWS upload

CI: Fix AWS upload #10

Workflow file for this run

name: CI
on:
pull_request
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20.6"
- name: Log into DockerHub
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Run dagger
env:
GIT_COMMIT_ID: ${{ github.sha }}
AWS_S3_BUCKET: ${{ vars.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_ENDPOINT: https://ams3.digitaloceanspaces.com
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: go run ./ci --build --publish