chore(deps): update docker/build-push-action action to - autoclosed #196
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test image | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Docker Setup Buildx | |
uses: docker/[email protected] | |
- name: Docker Login | |
uses: docker/[email protected] | |
with: | |
username: ${{secrets.DOCKER_HUB_USERNAME}} | |
password: ${{secrets.DOCKER_HUB_ACCESS_TOKEN}} | |
- name: Build and test Alpine Docker image | |
id: alpine_build | |
uses: docker/[email protected] | |
with: | |
file: ./alpine/Dockerfile | |
context: ./alpine | |
target: test | |
- name: Build and test Busybox Docker image | |
id: busybox_build | |
uses: docker/[email protected] | |
with: | |
file: ./busybox/Dockerfile | |
context: ./busybox | |
target: test |