This commit is contained in:
hay-kot 2021-06-11 22:42:56 -08:00
parent 870f322efd
commit 805f14c9d1
2 changed files with 1 additions and 21 deletions

View File

@ -24,6 +24,7 @@ jobs:
- name: Build container image
uses: docker/build-push-action@v2
with:
context: /docs
push: true
tags: |
ghrc.io/${{ github.repository }}/dev-docs:latest

View File

@ -6,27 +6,6 @@ on:
- dev
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
uses: docker/build-push-action@v2
with:
push: true
tags: |
ghrc.io/${{ github.repository }}/dev-docs:latest
build:
runs-on: ubuntu-latest
steps: