Skip to content

chore(deps): update actions/setup-node action to v3 - autoclosed #278

chore(deps): update actions/setup-node action to v3 - autoclosed

chore(deps): update actions/setup-node action to v3 - autoclosed #278

Workflow file for this run

name: Load-balancer image
on:
push:
branches:
- dev
paths:
- 'balancer/**'
- '.github/**'
- 'Makefile'
pull_request:
paths:
- 'balancer/**'
- '.github/**'
- 'Makefile'
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
- name: Build production image
run: make build_balancer
- name: "Docker login"
if: github.ref == 'refs/heads/dev'
env:
DOCKER_REGISTRY_URL: docker-registry.siecobywatelska.pl
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: echo "${DOCKER_PASSWORD}" | docker login -u ${DOCKER_USERNAME} --password-stdin ${DOCKER_REGISTRY_URL}
- name: Push image
if: github.ref == 'refs/heads/dev'
run: make push_balancer