Skip to content

Commit

Permalink
Сборка образов 1с
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 authored Oct 1, 2024
1 parent b1e71b6 commit 68247e9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dir: [ 'jdk', 'oscript' ]

steps:
- name: Checkout repository
Expand All @@ -25,5 +22,14 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Build Docker images
env:
DOCKER_REGISTRY_URL: 'localhost:5000'
DOCKER_LOGIN: ""
DOCKER_PASSWORD: ""
ONEC_USERNAME: ${{ secrets.ONEC_USERNAME}}
ONEC_PASSWORD: ${{ secrets.ONEC_PASSWORD}}
ONEC_VERSION: '8.3.18.1520'
run: |
docker build -t oscript:latest -f ${{ matrix.dir }}/Dockerfile .
docker run -d -p 5000:5000 --name registry registry:2
./build-base-swarm-jenkins-agent.sh

0 comments on commit 68247e9

Please sign in to comment.