Skip to content

Commit

Permalink
Update snowflake-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
susan-pgedge authored Jan 21, 2025
1 parent 087cbda commit f24954a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/snowflake-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@ jobs:
- name: Set up Docker
uses: docker/setup-buildx-action@v2

- name: Build Docker Image #Use version specific alpine version of dockerfile
- name: Build Docker Image
run: |
docker build --build-arg PGVER=${{ matrix.pgver }} -t snowflake .
- name: Run Docker Container
run: |
docker run -d --name snowflake -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 snowflake
sleep 5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Run Docker Container
run: |
docker run -d --name snowflake -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 snowflake
- name: Install dependencies
run: |
sudo apt -y update
Expand All @@ -45,7 +44,7 @@ jobs:
python3-dev \
python3-psycopg2 \
python3-dotenv
- name: Wait for PostgreSQL to be ready
env:
POSTGRES_HOST: localhost
Expand Down

0 comments on commit f24954a

Please sign in to comment.