Skip to content

Merge pull request #15 from celenium-io/test-build #3

Merge pull request #15 from celenium-io/test-build

Merge pull request #15 from celenium-io/test-build #3

Workflow file for this run

name: Build and Push Docker Image
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Image
run: |
docker build -t ghcr.io/${{ github.repository }}:${{ github.ref_name }} .
- name: Push Docker Image to GitHub Container Registry
run: |
docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }}