Skip to content

Adding docker/setup-buildx-action to GitHub Action build workflow #7

Adding docker/setup-buildx-action to GitHub Action build workflow

Adding docker/setup-buildx-action to GitHub Action build workflow #7

Workflow file for this run

name: 'package'
on:
push:
branches: ['main']
permissions:
packages: 'write'
jobs:
docker:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'docker/setup-buildx-action@v3'
- uses: 'docker/#-action@v3'
with:
registry: 'ghcr.io'
username: '${{ github.repository_owner }}'
password: '${{ secrets.GITHUB_TOKEN }}'
- uses: 'docker/build-push-action@v6'
with:
context: '.'
push: true
tags: 'ghcr.io/occrp/alfred-elasticsearch:${{ github.sha }}'
platforms: 'linux/arm64,linux/amd64'