mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-01-30 13:32:56 +08:00
chore: Update build workflow to include Docker image build and push to GitHub Container Registry
This commit is contained in:
parent
1df335b082
commit
3128f9b3db
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -5,7 +5,7 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
Rebuild-everything:
|
||||
build-readme-file:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout, install tools..
|
||||
@ -29,6 +29,14 @@ jobs:
|
||||
commit_user_email: github-actions[bot]@users.noreply.github.com
|
||||
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
||||
|
||||
build-docker-image:
|
||||
needs: build-readme-file
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout, install tools..
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
# Use docker to build current directory ./Dockfile
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user