Skip to content

prenova strani "Vsi uporabniki" #60

prenova strani "Vsi uporabniki"

prenova strani "Vsi uporabniki" #60

Workflow file for this run

name: Build frontend
on:
push:
branches:
- main
jobs:
docker:
name: Docker build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Docker version
run: docker --version
- name: Docker Login
uses: docker/login-action@v3
with:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
registry: "ghcr.io"
- name: downcase repository owner
run: |
echo REPO=$(echo ${{github.repository_owner}} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Build Docker image
uses: docker/build-push-action@v6
with:
file: "./Dockerfile"
tags: ghcr.io/${{env.REPO}}/frontend:latest
push: true