Skip to content

fix registry auth

fix registry auth #1

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
docker build . --tag ghcr.io/lucasvs/docker-asterisk:${{ github.ref_name }}
docker push ghcr.io/lucasvs/docker-asterisk:${{ github.ref_name }}