Skip to content

Commit

Permalink
docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
theguy951357 committed Jan 3, 2024
1 parent 54005d4 commit 721d4e5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
36 changes: 35 additions & 1 deletion .github/workflows/deploysphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,38 @@ on:
inputs:
version:
description: "new version number"
required: true
required: true

jobs:

build-docs:
runs-on: ubuntu-latest


docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
repository: gravitl/netmaker-docs
ref: master
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
uses: docker/setup=buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: |
gravitl/netmaker-docs:${{ inputs.version }}
gravitl/netmaker-docs:latest
2 changes: 1 addition & 1 deletion .github/workflows/readthedocsdeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Docs
on: workflow_dispatch

jobs:
notebooks:
deploy_readthedocs:
name: "Build the docs for readthedocs.org"
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 721d4e5

Please sign in to comment.