Skip to content

Commit

Permalink
F2calv/2023 01 ci tweak (#6)
Browse files Browse the repository at this point in the history
* updates

* tweak
  • Loading branch information
f2calv authored Jan 11, 2023
1 parent 0ca608e commit ba52561
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/postStartCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ echo "-------------------"
sudo apt-get update
sudo apt-get upgrade -y

rustup --version
rustc --version
dotnet --version

echo "Done"
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ jobs:
run: |
helm push ${{ github.workspace }}/artifacts/$IMAGE_NAME-0.1.0.tgz oci://ghcr.io/${{ github.repository_owner }}
- name: create release $GIT_TAG
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
with:
tag_name: ${{ env.GIT_TAG }}
name: Release ${{ needs.build_app.outputs.FullSemVer }}
release:
needs: [build_app, build_image, push_chart]
if: github.ref == 'refs/heads/main'
uses: f2calv/gha-workflows/.github/workflows/gha-release-versioning.yml@v1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Although I could achieve my goal of deploying the same application to multiple a

This repository provides a fully working example of building a .NET application container image that is capable of targeting multiple platform architectures - all from a single Dockerfile.

If you find this repository of use then please massage my ego by giving this repository a :star: ... :wink:
If you find this repository useful then give it a :star: ... :wink:

## Goals

Expand Down
4 changes: 3 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ pause

#Run the multi-architecture container image
#https://docs.docker.com/engine/reference/commandline/run/
docker run --rm -it --name $GIT_REPO $IMAGE_NAME
docker run --rm -it --name $GIT_REPO $IMAGE_NAME

#kubectl run -i --tty --attach multi-arch-container-dotnet --image=ghcr.io/f2calv/multi-arch-container-dotnet --image-pull-policy='Always'

0 comments on commit ba52561

Please sign in to comment.