Skip to content

Commit cdc0cef

Browse files
committed
gh ci build.yml
1 parent 2d099d7 commit cdc0cef

File tree

7 files changed

+43
-239
lines changed

7 files changed

+43
-239
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
docker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Log in to Docker Hub
15+
uses: docker/login-action@v3
16+
with:
17+
username: ${{ vars.DOCKER_USER }}
18+
password: ${{ secrets.DOCKER_PAT }}
19+
20+
- name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v3
22+
with:
23+
driver: cloud
24+
endpoint: "viinex/vnxbuilder"
25+
26+
- name: Extract metadata
27+
id: meta
28+
uses: docker/metadata-action@v5
29+
with:
30+
images: viinex/wick
31+
32+
33+
- name: Build and push
34+
uses: docker/build-push-action@v6
35+
with:
36+
tags: "${{ vars.DOCKER_USER }}/wick:latest"
37+
provenance: mode=max
38+
sbom: true
39+
#push: true?
40+
# For pull requests, export results to the build cache.
41+
# Otherwise, push to a registry.
42+
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
43+

.github/workflows/deploy_snap_arm64.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/deploy_snap_x86.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/git-lint.yaml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/main-lint-test.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

.github/workflows/snap_arm64.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/snap_x86.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)