Skip to content

update workflow v2

update workflow v2 #1

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches:
- 'dev-testing'
jobs:
build-image:

Check failure on line 11 in .github/workflows/test-pushing.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test-pushing.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: trigger-release
if: needs.trigger-release.outputs.release_created
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# ------------------------------------------------
# Setup Docker ad Qemu
# ------------------------------------------------
- name: SetUp QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: >
nuvladev/nuvlaedge-validation:${{ github.ref_name }},
nuvladev/nuvlaedge-validation:latest
cache-from: type=gha
cache-to: type=gha,mode=max