Skip to content

Trying something new again #246

Trying something new again

Trying something new again #246

Workflow file for this run

name: Publish Docker image
on:
release:
types: [published]
push:
branches:
- main
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Sign in to ghcr.io
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GitHub Packages
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/gewis/custommailcow-ldap:${{ github.ref_name }}