Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stage not need, already pushed in buildx task #674

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,10 @@ jobs:
run: |
make container CONTAINERCMD="docker buildx" EXTRA_OPTS="--platform linux/amd64,linux/ppc64le,linux/arm64 --push" REPO=ghcr.io/${{ github.repository_owner }}/receptor VERSION=v${{ github.event.inputs.version }} LATEST=yes

- name: Stage container image
run: |
docker push ghcr.io/${{ github.repository_owner }}/receptor:v${{ github.event.inputs.version }}
docker push ghcr.io/${{ github.repository_owner }}/receptor:latest

- name: Create draft release
run: |
ansible-playbook tools/ansible/stage.yml \
-e version=${{ github.event.inputs.version }} \
-e repo=${{ github.repository_owner }}/receptor \
-e github_token=${{ secrets.GITHUB_TOKEN }} \
-e target_commitish=${{ github.event.inputs.ref }}
-e target_commitish=${{ github.event.inputs.ref }}