Skip to content

Use github secrets

Use github secrets #87

Workflow file for this run

name: build
on:
push:
branches:
- v1.x
- v2.x
- v3.x
jobs:
build:
name: Publish latest
runs-on: ubuntu-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and publish images
run: |
./scripts/build -p .