Skip to content

Push Image

Push Image #3

Workflow file for this run

name: Push Image
on:
release:
types: [published] # Trigger on published release
jobs:
push:

Check failure on line 8 in .github/workflows/push-image.yml

View workflow run for this annotation

GitHub Actions / Push Image

Invalid workflow file

The workflow is not valid. .github/workflows/push-image.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: build
steps:
- name: 📦 Push to ECR
uses: aws-actions/amazon-ecr-login@v1
- run: |
docker load --input ${APPLICATION}_latest.tar.gz
docker tag ${APPLICATION}:latest ${IMAGE_NAME}:latest
docker push ${IMAGE_NAME}:latest