Skip to content

deps: bump actions/upload-pages-artifact from 2.0.0 to 3.0.0 #26

deps: bump actions/upload-pages-artifact from 2.0.0 to 3.0.0

deps: bump actions/upload-pages-artifact from 2.0.0 to 3.0.0 #26

Workflow file for this run

name: Publish docker images
on:
push:
branches:
- 'master'
tags:
- 'libp2p-server-**'
pull_request:
jobs:
server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}-server
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./misc/server/Dockerfile
push: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} # Only push image if we have the required permissions, i.e. not running from a fork
cache-from: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' && type=s3,mode=max,bucket=libp2p-by-tf-aws-bootstrap,region=us-east-1,prefix=buildCache,name=rust-libp2p-server }}

Check failure on line 38 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / Publish docker images

Invalid workflow file

The workflow is not valid. .github/workflows/docker-image.yml (Line: 38, Col: 23): Unrecognized named-value: 'type'. Located at position 84 within expression: ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' && type=s3,mode=max,bucket=libp2p-by-tf-aws-bootstrap,region=us-east-1,prefix=buildCache,name=rust-libp2p-server .github/workflows/docker-image.yml (Line: 39, Col: 23): Unrecognized named-value: 'type'. Located at position 84 within expression: ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' && type=s3,mode=max,bucket=libp2p-by-tf-aws-bootstrap,region=us-east-1,prefix=buildCache,name=rust-libp2p-server
cache-to: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' && type=s3,mode=max,bucket=libp2p-by-tf-aws-bootstrap,region=us-east-1,prefix=buildCache,name=rust-libp2p-server }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
env:
AWS_ACCESS_KEY_ID: ${{ vars.TEST_PLANS_BUILD_CACHE_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_PLANS_BUILD_CACHE_KEY }}