Skip to content

fill cookies params from config #500

fill cookies params from config

fill cookies params from config #500

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: ShvatkaBotBuild
on:
push:
branches: [ master ]
tags: ["*.*.*"]
jobs:
lint-and-test:
uses: ./.github/workflows/test.yml
build:
needs: lint-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get current date
id: date
run: |
echo "BUILD_AT=$(date +'%Y-%m-%dT%H:%M:%S%z')" >> "$GITHUB_OUTPUT"
echo "VCS_SHA=${GITHUB_SHA}" >> "$GITHUB_OUTPUT"
- uses: mr-smithers-excellent/[email protected]
with:
image: bomzheg/shvatka
addLatest: true
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
buildArgs: "BUILD_AT=${{steps.date.outputs.BUILD_AT}},VCS_SHA=${{steps.date.outputs.VCS_SHA}}"