Skip to content

moving commands to versioning.sh. #11

moving commands to versioning.sh.

moving commands to versioning.sh. #11

Workflow file for this run

name: "Docker build and push"
on:
push:
branches: [ "master" ]
jobs:
build_and_push:
runs-on: ubuntu-22.04
steps:
- name: "Update Jq"
run: sudo apt-get install --only-upgrade jq
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v4
- name: "Build and Push"
run: |
chmod +x ./versioning.sh
./versioning.sh