Skip to content

Build Image

Build Image #32

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 }}