Skip to content

chore(release): force push #314

chore(release): force push

chore(release): force push #314

Workflow file for this run

name: Automated deploy
on:
pull_request:
branches:
- '**'
env:
VERSION: 'v10.3.1'
TARGET_REF: 'main'
TAG: 'latest'
jobs:
publish:

Check failure on line 14 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Automated deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 14, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
- name: Prepare Image Tags
run: |
echo "TAG_REPEATER=brightsec/cli" >> $GITHUB_ENV
- name: Build Images
run: |
docker build . --file Dockerfile --build-arg VERSION=$VERSION -t $TAG_REPEATER:$VERSION -t $TAG_REPEATER:$TAG
- name: Push Images
run: |
docker login --username=${{ secrets.DOCKERHUB_BRIGHT_USER }} --password=${{ secrets.DOCKERHUB_BRIGHT_TOKEN }}
docker push $TAG_REPEATER --all-tags