Skip to content

rework renew configs workflow (#178) #112

rework renew configs workflow (#178)

rework renew configs workflow (#178) #112

Workflow file for this run

name: 'Build image rosseta:offline'
on:
workflow_dispatch:
push:
branches: [master]
paths:
- config/**
- server/**
- client/**
- Dockerfile
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-rosetta-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log in to the github container registry
uses: docker/login-action@master
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Rosetta image
uses: docker/build-push-action@master
with:
file: Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest