Skip to content

Commit

Permalink
repro case
Browse files Browse the repository at this point in the history
  • Loading branch information
Firehed committed Sep 8, 2022
1 parent 868ad13 commit 25887ce
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/self-test-multistage-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,37 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Auth to GH registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: ./
name: Build with this action
id: build
with:
context: examples
repository: ghcr.io/firehed/actions
stages: env, configured
server-stage: server

- name: Print outputs
run: |
echo "Server: ${{ steps.build.outputs.server-tag }}"
echo "Testenv: ${{ steps.build.outputs.testenv-tag }}"
echo "Commit: ${{ steps.build.outputs.commit }}"
- name: Run image
run: docker run --rm ${{ steps.build.outputs.server-tag }}

build-different-context-and-dockerfile:
name: Override context and file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Auth to GH registry
uses: docker/login-action@v1
with:
Expand Down

0 comments on commit 25887ce

Please sign in to comment.