Closed MaticSulc closed 11 months ago
Looks like your environment (container) is missing docker. This is not a bug regarding this action.
See
name: Build and Deploy
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [main]
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: node:16
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- run: docker ps
errors as docker: not found
(https://github.com/elgohr/test/actions/runs/6901303639/job/18775880567)
Describe the bug While running an action using the platform tags, it throws
/__w/_actions/elgohr/Publish-Docker-Github-Action/v5/entrypoint.sh: 32: /__w/_actions/elgohr/Publish-Docker-Github-Action/v5/entrypoint.sh: docker: not found
To Reproduce
Expected behavior No error, and successful deployment.