From 44f5183564a5d878fca1fe6902452379841900fc Mon Sep 17 00:00:00 2001 From: TDDR Date: Sun, 30 Jan 2022 20:55:11 -0500 Subject: [PATCH] Added workflow that builds and pushes feed-discorvery to ghcr --- .../deploy-feed-discovery-image.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/deploy-feed-discovery-image.yaml diff --git a/.github/workflows/deploy-feed-discovery-image.yaml b/.github/workflows/deploy-feed-discovery-image.yaml new file mode 100644 index 0000000000..beece7e0cd --- /dev/null +++ b/.github/workflows/deploy-feed-discovery-image.yaml @@ -0,0 +1,29 @@ +name: Build and push feed-discovery service to ghcr + +on: + push: + branches: + - master + paths: + - 'src/api/feed-discovery/**' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push + id: docker_build + uses: docker/build-push-action@v2 + with: + context: src/api/feed-discovery + push: true + tags: feed-discovery:latest