Skip to content

Workflow file for this run

name: Build and Push Docker Image to correct tags
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker 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_ACCESS_TOKEN }}
- name: Build and Push Gitpod Image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
file: Dockerfile.gitpod
tags: rustlluk/pycub:gitpod
working-directory: Docker

Check failure on line 33 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / Build and Push Docker Image to correct tags

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 33, Col: 7): Unexpected value 'working-directory' .github/workflows/docker.yml (Line: 43, Col: 7): Unexpected value 'working-directory'
- name: Build and Push VNC Image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: Dockerfile.vnc
tags: rustlluk/pycub:vnc
working-directory: Docker
- name: Build and Push Standard Image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
file: Dockerfile
tags: rustlluk/pycub:latest
working-directory: Docker