Skip to content

Commit

Permalink
Remove all shared actions (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 16, 2024
1 parent 34342fb commit b0e5510
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
4 changes: 0 additions & 4 deletions .github/actions/build_docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ runs:
- name: Setup up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Generate Date Version
id: date-version
uses: StackEng/CoreEngineering.CITools/actions/date_version@v1

- name: Docker Image Metadata
id: metadata
uses: docker/metadata-action@v5
Expand Down
34 changes: 18 additions & 16 deletions .github/workflows/build_app_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 #Fetch entire history for NerdBank to calculate the version

- name: Setup NuGet access
uses: StackEng/PlatEngTools/actions/nuget-sources@main
with:
GH_NUGET_FEED: ${{ vars.CLOUDSMITH_NUGET }}
GH_NUGET_USER: ${{ secrets.nuget_user }}
GH_NUGET_RO_PAT: ${{ secrets.nuget_password }}
NUGET_CLEANUP_FEEDS: ProGet

# Disable until access can be sorted
# - name: Setup NuGet access
# uses: StackEng/PlatEngTools/actions/nuget-sources@main
# with:
# GH_NUGET_FEED: ${{ vars.CLOUDSMITH_NUGET }}
# GH_NUGET_USER: ${{ secrets.nuget_user }}
# GH_NUGET_RO_PAT: ${{ secrets.nuget_password }}
# NUGET_CLEANUP_FEEDS: ProGet

- uses: ./.github/actions/build_docker
id: image
Expand All @@ -49,12 +50,13 @@ jobs:
registry_username: ${{ secrets.registry_username }}
registry_password: ${{ secrets.registry_password }}
scan_image: true

- name: Await opserver docker image to be ready in Cloudsmith
uses: StackEng/TeamsScaleTools/actions/cloudsmith-awaiter@main
with:
cloudsmith_api_key: ${{ secrets.registry_password }}
cloudsmith_org: stackoverflow
cloudsmith_repo: ${{ github.ref_name == 'main' && 'cr' || 'cr-dev' }}
cloudsmith_query: "name:opserver tag:${{ inputs.version }}"

# Disable until access can be sorted.
# - name: Await opserver docker image to be ready in Cloudsmith
# uses: StackEng/TeamsScaleTools/actions/cloudsmith-awaiter@main
# with:
# cloudsmith_api_key: ${{ secrets.registry_password }}
# cloudsmith_org: stackoverflow
# cloudsmith_repo: ${{ github.ref_name == 'main' && 'cr' || 'cr-dev' }}
# cloudsmith_query: "name:opserver tag:${{ inputs.version }}"

0 comments on commit b0e5510

Please sign in to comment.