Skip to content

Commit c3b5889

Browse files
author
colinmcneil
committed
Add build action for release in ddui
1 parent dcef26d commit c3b5889

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/extension.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build and Push DD Extension
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up QEMU
16+
uses: docker/setup-qemu-action@v3
17+
18+
- name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@v3
20+
21+
- name: Login to Docker Hub
22+
uses: docker/login-action@v3
23+
with:
24+
username: dockerpublicbot
25+
password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
26+
27+
- name: Build and push
28+
uses: docker/build-push-action@v5
29+
with:
30+
platforms: linux/amd64,linux/arm64
31+
push: true
32+
tags: docker/labs-ai-tools-for-devs:${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)