Skip to content

Create Docker multi-platform build workflow and native ARM64#1761

Merged
alexcos20 merged 3 commits intomainfrom
feature/docker
Feb 24, 2026
Merged

Create Docker multi-platform build workflow and native ARM64#1761
alexcos20 merged 3 commits intomainfrom
feature/docker

Conversation

@alexcos20
Copy link
Copy Markdown
Member

@alexcos20 alexcos20 commented Feb 18, 2026

Add GitHub Actions workflow for Docker multi-platform builds, including steps for building and pushing images to Docker Hub and GitHub Container Registry.
Add native ARM64 build.

Tags:

GitHub Action Event Example Input Resulting Docker Tag(s)
Push to main branch git push origin main main
Push to any other branch git push origin dev none, no automated build
Pull Request PR #42 pr-42
Push a semver tag git tag v1.2.3 1.2.3 + latest

Build container image and pushes it to both dockerhub & ghcr

#docker inspect oceanprotocol/pdr-backend:pr-1761
  
Name:      docker.io/oceanprotocol/pdr-backend:pr-1761
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:60523875cdd95825b1722fa163209941aeedfdcdc9198d9541a254f58bbf8739
           
Manifests: 
  Name:        docker.io/oceanprotocol/pdr-backend:pr-1761@sha256:16dd085869533bd612955b1f2573d458f82967344c1762a8a5da46cc149fc312
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/amd64
               
  Name:        docker.io/oceanprotocol/pdr-backend:pr-1761@sha256:d386b079b6deed6b6b78e763a9ce9f0e6cd3b1e657224f22cf0f18182f41156f
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations: 
    vnd.docker.reference.digest: sha256:16dd085869533bd612955b1f2573d458f82967344c1762a8a5da46cc149fc312
    vnd.docker.reference.type:   attestation-manifest
               
  Name:        docker.io/oceanprotocol/pdr-backend:pr-1761@sha256:8346a9b5ac3731f8d6c5547863437160c5d35d5c443fed985bf6188fdb54f139
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/arm64
               
  Name:        docker.io/oceanprotocol/pdr-backend:pr-1761@sha256:f82634530bd646cbfd82ee51702d865430f46a94127d49df7bde12a519cc0805
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations: 
    vnd.docker.reference.digest: sha256:8346a9b5ac3731f8d6c5547863437160c5d35d5c443fed985bf6188fdb54f139
    vnd.docker.reference.type:   attestation-manifest
#docker inspect ghcr.io/oceanprotocol/pdr-backend:pr-1761
  
Name:      ghcr.io/oceanprotocol/pdr-backend:pr-1761
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:99038895f379a8594433f853207a4716bae6764a7bf4d0451479682dfee8bdb9
           
Manifests: 
  Name:        ghcr.io/oceanprotocol/pdr-backend:pr-1761@sha256:16dd085869533bd612955b1f2573d458f82967344c1762a8a5da46cc149fc312
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/amd64
               
  Name:        ghcr.io/oceanprotocol/pdr-backend:pr-1761@sha256:538a8728044d3612c5efb8668a022386573cab385302bc48f8ef07d32c8c197b
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations: 
    vnd.docker.reference.digest: sha256:16dd085869533bd612955b1f2573d458f82967344c1762a8a5da46cc149fc312
    vnd.docker.reference.type:   attestation-manifest
               
  Name:        ghcr.io/oceanprotocol/pdr-backend:pr-1761@sha256:8346a9b5ac3731f8d6c5547863437160c5d35d5c443fed985bf6188fdb54f139
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/arm64
               
  Name:        ghcr.io/oceanprotocol/pdr-backend:pr-1761@sha256:f3b3464901ebb09964c75b52affe7fd67817b2255e67cb21f0e6a28d713c24c3
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations: 
    vnd.docker.reference.digest: sha256:8346a9b5ac3731f8d6c5547863437160c5d35d5c443fed985bf6188fdb54f139
    vnd.docker.reference.type:   attestation-manifest

Add GitHub Actions workflow for Docker multi-platform builds, including steps for building and pushing images to Docker Hub and GitHub Container Registry.
@alexcos20 alexcos20 changed the title Create Docker multi-platform build workflow Create Docker multi-platform build workflow and native ARM64 Feb 18, 2026
@alexcos20 alexcos20 self-assigned this Feb 18, 2026
Removed workflow_dispatch trigger from Docker build.
@alexcos20 alexcos20 merged commit 30f3d40 into main Feb 24, 2026
6 of 7 checks passed
@alexcos20 alexcos20 deleted the feature/docker branch February 24, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants