Skip to content

Update dependencies #43

Update dependencies

Update dependencies #43

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