Skip to content

Commit 44dd00f

Browse files
committed
ci
1 parent b2b766c commit 44dd00f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @nikolaydubina

.github/workflows/image.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: image
2+
3+
on: [push]
4+
5+
jobs:
6+
build-and-publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: code
10+
uses: actions/checkout@v4
11+
12+
- name: docker
13+
uses: docker/setup-buildx-action@v3
14+
15+
- name: image metadata
16+
id: metadata
17+
uses: docker/metadata-action@v5
18+
with:
19+
images: ghcr.io/ndx-technologies/redis-prometheus-exporter-info
20+
21+
- name: build and publish
22+
uses: docker/build-push-action@v6
23+
with:
24+
context: .
25+
file: Dockerfile
26+
tags: ${{ steps.metadata.outputs.tags }}
27+
labels: ${{ steps.metadata.outputs.labels }}
28+
push: true

0 commit comments

Comments
 (0)