From b5750a9b2b74ad017105f4189d0b2b2d307b574e Mon Sep 17 00:00:00 2001 From: Tim Roberts <59970326+TDDR@users.noreply.github.com> Date: Mon, 31 Jan 2022 14:09:39 -0500 Subject: [PATCH] Added workflow that builds and pushes feed-discorvery to ghcr (#2784) --- .../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