Incrementing version number to 2.82.0 #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2024 Legacy team | |
name: LinuxBuildMachine | |
on: | |
push: | |
paths: | |
- 'misc/docker/build.Dockerfile' | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-22.04 | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to DockerHub Registry | |
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin | |
- name: Get the version | |
id: vars | |
run: | | |
echo "tag=$(date +%Y%m%d%H%M%S)" >> $GITHUB_OUTPUT | |
- name: Build and push the latest Docker image | |
run: | | |
docker build misc/docker --file misc/docker/build.Dockerfile --tag etlegacy/lnx-build:latest --tag etlegacy/lnx-build:${{steps.vars.outputs.tag}} | |
docker push etlegacy/lnx-build:${{steps.vars.outputs.tag}} | |
docker push etlegacy/lnx-build:latest |