Skip to content

Refactor code for improved readability and consistency across multipl… #18

Refactor code for improved readability and consistency across multipl…

Refactor code for improved readability and consistency across multipl… #18

Workflow file for this run

name: hash_hunter_cloud_build
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions: read-all
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: lab:latest
driver: cloud
endpoint: "${{ secrets.DOCKER_USER }}/ursister"
install: true
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: "${{ secrets.DOCKER_USER }}/ursister:latest"
# for pull requests, export results to the build cache. # otherwise, push to a registry. outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}