Skip to content

chore(release): force push #316

chore(release): force push

chore(release): force push #316

Workflow file for this run

name: Automated deploy
on:
pull_request:
branches:
- '**'
env:
VERSION: 'v10.3.1'
TAG: 'latest'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GPR_TOKEN }}
- name: Prepare Image Tags
run: |
echo "TAG_REPEATER=brightsec/cli" >> $GITHUB_ENV
- name: Build Images
run: |
docker build . --file Dockerfile --build-arg VERSION=$VERSION -t $TAG_REPEATER:$VERSION -t $TAG_REPEATER:$TAG
- name: Push Images
run: |
docker login --username=${{ secrets.DOCKERHUB_BRIGHT_USER }} --password=${{ secrets.DOCKERHUB_BRIGHT_TOKEN }}
docker push $TAG_REPEATER --all-tags