Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Jun 12, 2024
1 parent 8b28d55 commit 7c9bc60
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/test-in-herokuish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ jobs:
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

- name: "Login to GitHub Container Registry"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -78,17 +85,18 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
tags: outpost:test
tags: ghcr.io/wearefuturegov/outpost:test
file: Dockerfile.test
load: true
# load: true
push: true
build-args: |
NODE_OPTIONS=--openssl-legacy-provider
RAILS_ENV=test
NODE_ENV=development
- name: Test
run: |
docker run --rm outpost:test
# - name: Test
# run: |
# docker run --rm outpost:test

# - name: Run the image and tests
# run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/working/publish-outpost-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
elif [[ "$BRANCH_NAME" == "production" ]]; then
echo "tag=latest" >> $GITHUB_ENV
else
echo "tag=test" >> $GITHUB_ENV
echo "tag=default" >> $GITHUB_ENV
fi
- name: Set up QEMU
Expand Down

0 comments on commit 7c9bc60

Please sign in to comment.