Skip to content

Update github.com/AlexanderYastrebov/vanity25519 (#19) #37

Update github.com/AlexanderYastrebov/vanity25519 (#19)

Update github.com/AlexanderYastrebov/vanity25519 (#19) #37

Workflow file for this run

name: Docker Build
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
packages: write
jobs:
build_and_push:
name: Build and publish Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set revision
run: echo "REVISION=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
build-args: REVISION=${{ env.REVISION }}
tags: ghcr.io/alexanderyastrebov/wireguard-vanity-key:latest