Skip to content

Commit

Permalink
rebuild test
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed Mar 14, 2024
1 parent 8114b17 commit 285f39c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GITHUB_USER=
GITHUB_TOKEN=
GITHUB_USER=github: github user
GITHUB_TOKEN=github: github token
16 changes: 8 additions & 8 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ jobs:
#- name: License check
# uses: apache/skywalking-eyes@main
# continue-on-error: true
- name: Task
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
- name: Registry login
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Buildx install
uses: crazy-max/ghaction-docker-buildx@v1
- name: Task
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
- name: Setup
run: task setup
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
run: task build-and-push
run: task build-common PUSH=y
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ pkg/
.env
virtulenv/
node_modules/
.env
.env.nuv
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ tasks:
else {{.DRY}} docker buildx build -t "{{.COMMON}}" . --load
fi
build-runtime:
requires: { vars: [RT, VER] }
dir: "runtime/{{.RT}}/{{.VER}}"
Expand All @@ -80,13 +79,14 @@ tasks:
VER: "{{base .ITEM}}"

build:
- task: build-common
- task build-common
- task build-lang RT=golang
- task build-lang RT=python
- task build-lang RT=nodejs

build-and-push:
- task build PUSH=y
#- task build PUSH=y
- task build-common PUSH=y

run-runtime:
requires: { vars: [RT, VER] }
Expand Down

0 comments on commit 285f39c

Please sign in to comment.