Skip to content

Commit

Permalink
Fixed docker hub user
Browse files Browse the repository at this point in the history
  • Loading branch information
G L committed Jul 28, 2024
1 parent b052c4f commit 6e1ee4c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ on:
# - "production.env"

jobs:
test:
runs-on: ubuntu-latest
container:
image: python:3.9-slim
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apt-get update && apt-get install -y curl && \
curl -sSL https://install.python-poetry.org | python3 - && \
ln -s /github/home/.local/bin/poetry /usr/local/bin/poetry
- name: Configure Poetry
run: poetry config virtualenvs.create false && poetry install
- name: Run tests
run: PYTHONPATH=. pytest --cov=echopages -s tests
# test:
# runs-on: ubuntu-latest
# container:
# image: python:3.9-slim
# steps:
# - uses: actions/checkout@v2
# - name: Install dependencies
# run: |
# apt-get update && apt-get install -y curl && \
# curl -sSL https://install.python-poetry.org | python3 - && \
# ln -s /github/home/.local/bin/poetry /usr/local/bin/poetry
# - name: Configure Poetry
# run: poetry config virtualenvs.create false && poetry install
# - name: Run tests
# run: PYTHONPATH=. pytest --cov=echopages -s tests

build:
runs-on: ubuntu-latest
Expand All @@ -45,7 +45,7 @@ jobs:
run: echo "$DOCKER_HUB_PASSWORD" | docker login -u "$DOCKER_HUB_USERNAME" --password-stdin
env:
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_USERNAME: ${{ env.DOCKER_HUB_USERNAME }}
- name: Build and push Docker image
run: |
docker build -t pachovit/echopages:latest .
Expand Down

0 comments on commit 6e1ee4c

Please sign in to comment.