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

[FEATURE] automatic checkout #97

Open
akostadinov opened this issue Jul 1, 2022 · 0 comments
Open

[FEATURE] automatic checkout #97

akostadinov opened this issue Jul 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@akostadinov
Copy link

Is your feature request related to a problem? Please describe.

I want to have a shorter workflow file and skip checkout step when all needed is to just checkout source from current event.

For example with buildx I can have:

...
      - name: Build and push Docker image
        id: build-and-push
        uses: docker/build-push-action@v2
        with:
          push: ${{ github.event_name != 'pull_request' }}
          tags: ${{ steps.meta.outputs.tags }}
          platforms: ${{ inputs.platforms }}
          labels: ${{ steps.meta.outputs.labels }}
          file: openshift/system/Dockerfile

With buildah I need to do:

- uses: actions/checkout@v3

- name: Build image
    id: build-image
    uses: redhat-actions/buildah-build@v2
    ...

Describe the solution you'd like

Checkout to happen automatically.

@akostadinov akostadinov added the enhancement New feature or request label Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant