Skip to content

Merge pull request #570 from memeLab/dependabot/pip/django-4.2.16 #45

Merge pull request #570 from memeLab/dependabot/pip/django-4.2.16

Merge pull request #570 from memeLab/dependabot/pip/django-4.2.16 #45

Workflow file for this run

name: Docker pipeline
on:
push:
branches:
- develop
# TODO: Change environment and login envs
jobs:
django:

Check failure on line 10 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / Docker pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
name: push / django
environment: testes
runs-on: ubuntu-latest
needs: dependencies
steps:
- name: Check out code from Github
uses: actions/checkout@v3
- name: Build django image
run: |
docker build . -t jandigarte/django:latest
- name: Push django image
run: |
docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASS }}
docker push jandigarte/django:latest