Skip to content

Commit

Permalink
feat(docs): added github action to build image
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Jul 20, 2023
1 parent 2d43732 commit 07613e8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 23 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docs Docker Image

on:
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
with:
context: ./docs
platforms: linux/amd64
push: true
tags: ghcr.io/txpipe/oura-docs:${{ github.sha }}
23 changes: 0 additions & 23 deletions .github/workflows/mdbook.yml

This file was deleted.

0 comments on commit 07613e8

Please sign in to comment.