This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
fix: Bash mv error #46
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
name: CI PR/Branch | |
on: | |
push: | |
branches-ignore: | |
- master | |
pull_request: | |
env: | |
IMAGE_NAME: "homecentr/github-runner" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
steps: | |
- uses: actions/checkout@master | |
- name: Set tag var | |
id: vars | |
run: echo ::set-output name=docker_tag::$(echo ${GITHUB_REF} | cut -d'/' -f3)-${GITHUB_SHA} | |
- name: Verify Dockerfile with Hadolint | |
uses: brpaz/hadolint-action@master | |
- name: Build Docker image | |
run: docker build . -t ${{ env.IMAGE_NAME }}:${{ steps.vars.outputs.docker_tag }} |