build(deps): bump @babel/traverse from 7.13.0 to 7.23.2 in /web (#43) #15
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
name: Build and Push Docker Image | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
timeout-minutes: 5 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
timeout-minutes: 5 | |
- name: Get Short SHA | |
id: vars | |
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
timeout-minutes: 5 | |
- name: Get Epoch | |
id: epoch | |
run: echo "epoch=$(date +%s)">> $GITHUB_OUTPUT | |
timeout-minutes: 5 | |
- name: Build and Push Docker Image | |
uses: docker/build-push-action@v5 | |
with: | |
context: web/ | |
push: true | |
tags: "improwised/hydra-webui:${{ github.ref_name }}-${{ steps.vars.outputs.sha_short }}-${{ steps.epoch.outputs.epoch }}" | |
timeout-minutes: 10 |