mirror of
https://github.com/bcye/structured-wikivoyage-exports.git
synced 2025-06-07 00:14:05 +00:00
34 lines
731 B
YAML
34 lines
731 B
YAML
name: Build Docker Image
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "docker/*"
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
packages: write
|
|
contents: read
|
|
id-token: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
tags: ghcr.io/bcye/structured-wikivoyage-exports:latest
|