Skip to content

Merge pull request #956 from dbarzin/dev #405

Merge pull request #956 from dbarzin/dev

Merge pull request #956 from dbarzin/dev #405

Workflow file for this run

name: docker
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test naming
run: echo "ghcr.io/${{ github.repository }}:latest"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64, linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository }}:latest