Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

NOISSUE - Bump rutajdash/prettier-cli-action from 1.0.0 to 1.0.1 (#6) #3

NOISSUE - Bump rutajdash/prettier-cli-action from 1.0.0 to 1.0.1 (#6)

NOISSUE - Bump rutajdash/prettier-cli-action from 1.0.0 to 1.0.1 (#6) #3

Workflow file for this run

# Copyright (c) Abstract Machines
# SPDX-License-Identifier: Apache-2.0
name: Create and publish a Docker image
on:
push:
branches: ["main"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build service and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
build-args: |
SVC=magistrala-ui
tags: ghcr.io/absmach/magistrala-ui:latest
labels: ${{ steps.meta.outputs.labels }}