Skip to content

Set 'write' permission for docker publish job #97

Set 'write' permission for docker publish job

Set 'write' permission for docker publish job #97

Workflow file for this run

name: Publish Docker
on:
push:
branches:
- net-core
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: momentum-mod/discord-bot/mmod-discord-bot
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
dockerfile: MomentumDiscordBot/Dockerfile