Skip to content

Commit

Permalink
Merge pull request #29 from initializ-buildpacks/automations/github-c…
Browse files Browse the repository at this point in the history
…onfig/update

Updates github-config
  • Loading branch information
janisar007 authored Jun 28, 2024
2 parents 7751708 + 33472e4 commit cb3f49c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
branches:
- main

permissions:
id-token: write
contents: write


concurrency: release

jobs:
Expand Down Expand Up @@ -38,10 +33,8 @@ jobs:
with:
pack-version: ${{ steps.pack-version.outputs.version }}

- name: Run smoke test
run: |
chmod +x ./scripts/smoke.sh
./scripts/smoke.sh --name builder
- name: Run Smoke Tests
run: ./scripts/smoke.sh --name builder

- name: Generate Release Notes
id: notes
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
env:
INITIALIZ_BUILDPACKS_DOCKERHUB_USERNAME: ${{ secrets.INITIALIZ_BUILDPACKS_DOCKERHUB_USERNAME }}
INITIALIZ_BUILDPACKS_DOCKERHUB_PASSWORD: ${{ secrets.INITIALIZ_BUILDPACKS_DOCKERHUB_PASSWORD }}
run: |
DOCKERHUB_ORG="initializbuildpacks"
registry_repo="securepacks"
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
DOCKERHUB_ORG: "initializbuildpacks"

echo "${INITIALIZ_BUILDPACKS_DOCKERHUB_PASSWORD}" | docker login --username "${INITIALIZ_BUILDPACKS_DOCKERHUB_USERNAME}" --password-stdin
docker tag builder "${DOCKERHUB_ORG}/${registry_repo}:latest"
Expand All @@ -55,8 +54,6 @@ jobs:
docker push "${DOCKERHUB_ORG}/${registry_repo}:latest"
docker push "${DOCKERHUB_ORG}/${registry_repo}:${{ steps.event.outputs.tag }}"

failure:
name: Alert on Failure
runs-on: ubuntu-22.04
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@ jobs:
uses: actions/checkout@v3

- name: Run Smoke Tests
run: |
chmod +x ./scripts/smoke.sh
./scripts/smoke.sh --name builder
run: ./scripts/smoke.sh
2 changes: 1 addition & 1 deletion scripts/smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ function tests::run() {
popd > /dev/null
}

main "${@:-}"
main "${@:-}"

0 comments on commit cb3f49c

Please sign in to comment.