Skip to content

Prefix branches with a common prefix for this action #5

Prefix branches with a common prefix for this action

Prefix branches with a common prefix for this action #5

Workflow file for this run

name: Build Image
on:
push:
tags:
- '*'
permissions:
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker build -t ghcr.io/taucher2003/gitlab-pipeline-action:${{ github.ref_name }} .
- run: echo ${{ secrets.GITHUB_TOKEN }} | docker login -u $ --password-stdin ghcr.io
name: Login to registry
- run: docker push ghcr.io/taucher2003/gitlab-pipeline-action:${{ github.ref_name }}