Skip to content

Commit

Permalink
Merge pull request #6 from XenitAB/test-pr-validation
Browse files Browse the repository at this point in the history
Test pr validation
  • Loading branch information
simongottschlag authored Dec 1, 2020
2 parents 7de1c9e + a68850a commit 09caef7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tools-container-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
publish_latest:
name: Push Docker image to GitHub Packages
name: Push latest container image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tools-container-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
pr_validation:
name: Push Docker image to GitHub Packages
name: PR Validation
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build and push container image
- name: Build container image
uses: docker/build-push-action@v2
with:
cache-from: ghcr.io/xenitab/github-actions/tools:latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools-container-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
publish_latest:
name: Push Docker image to GitHub Packages
name: Push tagged container image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@ COPY opa-policies /opt/opa-policies
COPY terraform.sh /opt/terraform.sh

USER ${USER}

WORKDIR /home/${USER}

0 comments on commit 09caef7

Please sign in to comment.