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 - name: Build container image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: /docs
push: true push: true
tags: | tags: |
ghrc.io/${{ github.repository }}/dev-docs:latest ghrc.io/${{ github.repository }}/dev-docs:latest

View File

@ -6,27 +6,6 @@ on:
- dev - dev
jobs: 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: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: