Skip to content

Update Portuguese translation description for execution rate calculation #1101

Update Portuguese translation description for execution rate calculation

Update Portuguese translation description for execution rate calculation #1101

Workflow file for this run

name: Build & Publish Docker Images (ARM)
on:
push:
branches:
- alpha
jobs:
#
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
website-frontend:
name: frontend (NextJS)
runs-on: ubuntu-latest
strategy:
fail-fast: false
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=frontend" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Calculate module SHA256 hash
run: |
find "./${{ env.MODULE_KEY }}" -type f -print0 | sort -z | xargs -0 sha256sum | sha256sum | cut -d' ' -f1 > ${{ env.MODULE_KEY }}.hash
echo "SHA256_HASH=$(cat ${{ env.MODULE_KEY }}.hash)" >> $GITHUB_ENV
- name: Fetch hash cache
uses: actions/cache@v4
id: cache
with:
path: ${{ env.MODULE_KEY }}.hash
key: ${{ github.ref_name }}-${{ env.MODULE_KEY }}-${{ env.SHA256_HASH }}
- name: Login to GitHub Container Registry
if: steps.cache.outputs.cache-hit != 'true'
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
if: steps.cache.outputs.cache-hit != 'true'
uses: docker/build-push-action@master
with:
push: true
context: ./${{ env.MODULE_KEY }}
file: ./${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/website-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
# website-videowall:
# name: videowall (NextJS)
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# permissions:
# contents: read
# packages: write
# steps:
# - name: Set module key
# run: |
# echo "MODULE_KEY=videowall" >> $GITHUB_ENV
# - name: Checkout repository
# uses: actions/checkout@main
# - name: Calculate module SHA256 hash
# run: |
# find "./${{ env.MODULE_KEY }}" -type f -print0 | sort -z | xargs -0 sha256sum | sha256sum | cut -d' ' -f1 > ${{ env.MODULE_KEY }}.hash
# echo "SHA256_HASH=$(cat ${{ env.MODULE_KEY }}.hash)" >> $GITHUB_ENV
# - name: Fetch hash cache
# uses: actions/cache@v4
# id: cache
# with:
# path: ${{ env.MODULE_KEY }}.hash
# key: ${{ github.ref_name }}-${{ env.MODULE_KEY }}-${{ env.SHA256_HASH }}
# - name: Login to GitHub Container Registry
# if: steps.cache.outputs.cache-hit != 'true'
# uses: docker/login-action@master
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and Push Docker Image
# if: steps.cache.outputs.cache-hit != 'true'
# uses: docker/build-push-action@master
# with:
# push: true
# context: ./${{ env.MODULE_KEY }}
# file: ./${{ env.MODULE_KEY }}/Dockerfile
# tags: ghcr.io/carrismetropolitana/website-${{ env.MODULE_KEY }}:${{ github.ref_name }}