Skip to content

Commit

Permalink
add metadata-provider CI yml (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Recyin620 authored Nov 27, 2023
1 parent 397ddeb commit f918a8e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/kindling-front-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME}}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v3
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/metadata-provider-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Metadata-provider-CI

on:
push:
branches: [main]
workflow_dispatch:

jobs:
build-latest-test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Set TAG
run: echo "TAG=latesttest" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: ${{ github.workspace }}/collector
file: ${{ github.workspace }}/collector/docker/Dockerfile-metadata-provider
push: true
tags: kindlingproject/metadata-provider:${{ env.TAG }}

0 comments on commit f918a8e

Please sign in to comment.