Skip to content

Commit

Permalink
docs: move dry run to PR (Actions) build
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed May 14, 2024
1 parent d5fe8f4 commit d814e50
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,18 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

docker-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: false
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
push:
branches:
- main
Expand Down Expand Up @@ -56,7 +53,6 @@ jobs:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
with:
semantic_version: 17
dry_run: true
extra_plugins: |
@eclass/[email protected]
@semantic-release/git
Expand Down Expand Up @@ -108,6 +104,8 @@ jobs:
if: ${{ needs.semantic-release.outputs.release == 'yes' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -123,7 +121,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
push: false
push: true
tags: |
ghcr.io/WFCD/warframe-status:latest
ghcr.io/WFCD/warframe-status:${{ needs.semantic-release.outputs.new_version }}

0 comments on commit d814e50

Please sign in to comment.