generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Labels
info-neededIssue requires more information from posterIssue requires more information from poster
Description
I'm trying to publish multi-arch images for my devcontainers and I'm running into this error:
[2024-12-29T22:06:55.629Z] url: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to packages.microsoft.com:443
#23 155.0 gpg: no valid OpenPGP data found.
#23 155.0 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.
#23 ERROR: process "/bin/sh -c cp -ar /tmp/build-features-src/docker-in-docker_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_0 && cd /tmp/dev-container-features/docker-in-docker_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/docker-in-docker_0" did not complete successfully: exit code: 2Below is my workflow:
name: "Publish Dev Containers"
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Set up QEMU for multi-architecture builds
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build and Push
uses: devcontainers/[email protected]
env:
BUILDX_NO_DEFAULT_ATTESTATIONS: true
with:
imageName: ghcr.io/${{ github.repository }}/base
imageTag: 0.1.0,latest
subFolder: base
platform: linux/arm64,linux/amd64
push: alwaysMetadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from poster