Skip to content

fix: Create s3-upload.js #9

fix: Create s3-upload.js

fix: Create s3-upload.js #9

name: Build Docker Image
on:
push:
branches:
- main
paths-ignore:
- README.md
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- name: Login to ghcr.io
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
provenance: false
push: true
sbom: false
tags: ghcr.io/ietf-tools/hedgedoc:latest