Skip to content

Merge pull request #1012 from dbarzin/dependabot/npm_and_yarn/nanoid-… #451

Merge pull request #1012 from dbarzin/dependabot/npm_and_yarn/nanoid-…

Merge pull request #1012 from dbarzin/dependabot/npm_and_yarn/nanoid-… #451

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