Skip to content

Commit

Permalink
create angelos-network if not already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Unischneider committed Oct 25, 2024
1 parent 2bce399 commit fc49b38
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Check if Docker network exists and create it if not
run: |
if ! docker network inspect angelos-network >/dev/null 2>&1; then
echo "Network 'angelos-network' does not exist, creating it..."
docker network create angelos-network
else
echo "Network 'angelos-network' already exists."
fi
- name: Build and Push to GitHub Container Registry
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit fc49b38

Please sign in to comment.