Skip to content

test

test #133

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# 1. Checkout кода из репозитория
- uses: actions/checkout@v4
# 2 Логин в GitHub Container Registry
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.repository_owner }}" --password-stdin
# 3. Сборка Docker-образа
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/skywar-design/alt-atomic:source
# 4. Загрузка Docker-образа в GitHub Container Registry
- name: Push the Docker image to GitHub Container Registry
run: docker push ghcr.io/skywar-design/alt-atomic:source