Skip to content

Publish docker for arm64 #46

Publish docker for arm64

Publish docker for arm64 #46

Workflow file for this run

name: Publish docker image
on:
pull_request:
branches:
- main
types: [closed]
env:
IMAGE_NAME: ghcr.io/fablo-io/fablo-rest
jobs:
publish-docker-image:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: docker-container
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
./docker-build.sh --push