Adding release pipeline
Some checks failed
Build / Build (push) Successful in 11s
Publish Docker Image / Publishing Docker Image (release) Has been cancelled
Publish Docker Image / Build UI Artifact (release) Has been cancelled

Ending spring fundraiser
This commit is contained in:
Tara Wilson 2025-03-21 20:56:10 -04:00
parent 4f8c87b6bb
commit 72be60ce4b
2 changed files with 52 additions and 2 deletions

View File

@ -0,0 +1,49 @@
name: Publish Docker Image
on:
release:
types: [published]
jobs:
buildUI:
name: Build UI Artifact
runs-on: osx
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Restoring Node Packages
run: |
cd source
yarn install --frozen-lockfile
- name: Build
run: |
cd source
yarn run build
- name: Saving build artifact
uses: actions/checkout@v4
- uses: actions/upload-artifact@v4
with:
name: troop20web
path: source/dist/troop20web/
publicUI:
name: Publishing Docker Image
runs-on: osx
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: troop20web
path: source/dist/troop20web/
- name: Log in to Docker Hub
uses: docker/login-action@3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: false
tags: ${{ secrets.DOCKERHUB_USERNAME }}/troop20-web:${{ github.ref_name }}

View File

@ -9,7 +9,8 @@
Fundraiser benefits the Troop and individual Scouts. Fundraiser runs from February 27th until March 20th.
Please enter the <b>Scout's name</b> and <b>Scouting America Troop 2020G</b> in the "Who are you Supporting" fields in the checkout cart.
</p>
<a href="https://www.iraisemore.com/collections/art-in-nature-flower-bulbs?ref=33379" target="_blank"
class="link dim lh-title">Click Here to Support Troop 20!</a>
<p>
<b>This fundraiser has concluded.</b>
</p>
</div>
</article>