Skip to content

Commit

Permalink
Add submodule init to action
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiskula committed Nov 27, 2023
1 parent e4d5604 commit 968a3ab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docker-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
# Prepare source code
- name: Checkout
uses: actions/checkout@v4
- name: Initialize submodules
run: |
git submodule update --init
# Prepare environment
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -20,7 +26,9 @@ jobs:
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build and Push

# Build and publish
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
Expand Down

0 comments on commit 968a3ab

Please sign in to comment.