callback: use correct keycloak attribute for username #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Padlist Build and Push to GitHub Container Registry (ghcr.io) | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Login to GitHub Packages | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ github.token }} | |
- name: Build the Docker image | |
run: docker build -t ghcr.io/agdsn/padlist:${GITHUB_REF_NAME} . | |
- name: Push to Github registry | |
run: docker push ghcr.io/agdsn/padlist:${GITHUB_REF_NAME} |