Skip to content

Commit 35b6a62

Browse files
committed
workflow
1 parent 1e5113a commit 35b6a62

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build & Push Test Image
2+
3+
on:
4+
push:
5+
branches:
6+
- "**" # run on all branches, including yours
7+
workflow_dispatch: # allow manual trigger
8+
9+
jobs:
10+
build-and-push:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Login to Docker Hub
21+
uses: docker/login-action@v3
22+
with:
23+
username: ${{ secrets.DOCKERHUB_USERNAME }}
24+
password: ${{ secrets.DOCKERHUB_TOKEN }}
25+
26+
- name: Set up Docker Buildx
27+
uses: docker/setup-buildx-action@v3
28+
29+
- name: Build and push test image
30+
uses: docker/build-push-action@v6
31+
with:
32+
context: tee_launcher/launcher-test-image
33+
file: tee_launcher/launcher-test-image/Dockerfile
34+
push: true
35+
tags: |
36+
nearone/testing:latest
37+
nearone/testing:${{ github.sha }}

0 commit comments

Comments
 (0)