Breaking out steps #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coresvc-fileserver-build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- km/add_action | |
env: | |
REGISTRY: ghcr.io | |
APP_NAME: coresvc-fileserver | |
ANNOTATION: azure-orbital-space-sdk-coresvc-fileserver.yaml | |
jobs: | |
build-publish-feature: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: microsoft/azure-orbital-space-sdk-github-actions/composite-actions/install-devcontainer-cli@main | |
- uses: microsoft/azure-orbital-space-sdk-github-actions/composite-actions/devcontainer-up@km/add_dev-container | |
with: | |
registry-name: ${{ env.REGISTRY }} | |
github-user-name: ${{ secrets.git_hub_user_name }} | |
github-user-token: ${{ secrets.git_hub_user_token }} | |
- uses: microsoft/azure-orbital-space-sdk-github-actions/composite-actions/get-setup@km/add_dev-container | |
with: | |
setup-repo-url: ${{ secrets.SETUP_REPO_URL }} | |
- name: Build amd64 container image | |
shell: bash | |
run: | | |
echo "Output Current Directory:" | |
ls -la ${PWD} | |
echo "" | |
echo "Output /var/spacedev/ Directory:" | |
ls -la /var/spacedev/ | |
echo "" | |
echo "Sourcing spacefx.env file:" | |
source /var/spacedev/env/spacefx.env | |
echo "" | |
echo "Running build_containerImage.sh script:" | |
bash /var/spacedev/build/build_containerImage.sh --dockerfile Dockerfiles/Dockerfile --image-tag $SPACEFX_VERSION --architecture amd64 --repo-dir ${PWD} --app-name ${{ env.APP_NAME }} --annotation-config ${{ env.ANNOTATION}} | |
# - name: Build arm64 container image | |
# shell: bash | |
# run: | | |
# source /var/spacedev/env/spacefx.env | |
# bash /var/spacedev/build/build_containerImage.sh --dockerfile Dockerfiles/Dockerfile --image-tag $SPACEFX_VERSION --architecture arm64 --repo-dir ${PWD} --app-name ${{ env.APP_NAME }} --annotation-config ${{ env.ANNOTATION}} |