Bump docker/setup-buildx-action from 2 to 3 #61
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: Docker Compose Test | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
# - name: Build and push Docker images | |
# uses: docker/[email protected] | |
# with: | |
# push: true | |
# tags: h4ckermike/swarms-api:experimental | |
# - name: Build the Docker image | |
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) | |
- uses: adambirds/[email protected] | |
with: | |
compose-file: "./docker-compose.yml" | |
up-flags: "--build" | |
down-flags: "--volumes" | |
#test-container: "test-container" | |
#test-command: "npm test" |