-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (28 loc) · 911 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Main
on:
push:
branches: [main]
jobs:
"main-main":
name: "Main"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "1.21.0"
- 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: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }}
AWS_S3_REGION: ${{ secrets.AWS_S3_REGION }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
RELEASE_VERSION: ""
run: go run ./ci --test --build --website --publish