Skip to content

Initial working commit #12

Initial working commit

Initial working commit #12

name: Docker Image CI for GHCR
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
run: echo "${{ secrets.GH_PAT }}" | docker login ghcr.io -u skprg --password-stdin
- name: Build and Push Multi-Arch Docker Image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64,linux/arm/v7 \
--push \
-t ghcr.io/skprg/hubzilla-docker:latest .