feat: UID changed to 7000 to avoid colisions #32
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/haraka-relay" | |
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: Install dependencies | |
run: yarn | |
- name: Build Docker image | |
run: yarn build | |
- name: Test Docker image | |
run: yarn test | |
env: # To allow downloading packages | |
GITHUB_USERNAME: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |