Skip to content

Commit

Permalink
chore: Update build workflow to include Docker image build and push t…
Browse files Browse the repository at this point in the history
…o GitHub Container Registry
  • Loading branch information
Anduin2017 committed Jun 3, 2024
1 parent 1df335b commit 3128f9b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ master ]

jobs:
Rebuild-everything:
build-readme-file:
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
Expand All @@ -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
Expand Down

0 comments on commit 3128f9b

Please sign in to comment.