Sha256: f780a18a1e4df32770b3eeb64a6435c9134c418ca53f6d15a23c7a344020f293

Contents?: true

Size: 1.03 KB

Versions: 65

Compression:

Stored size: 1.03 KB

Contents

name: docker-build

on:
  push:
    branches: build
    paths:
      - 'lib/aws_recon/version.rb'

jobs:
  docker-build:
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 1
      - name: Set up QEMU
        uses: docker/setup-qemu-action@v1
      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1
      - name: Login to DockerHub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      - name: Set version tag
        run: |
          echo "VERSION_TAG=$(grep VERSION lib/aws_recon/version.rb | awk -F\" '{print $2}')" >> $GITHUB_ENV
      - name: Build and push
        id: docker_build
        uses: docker/build-push-action@v2
        with:
          push: true
          build-args: |
            VERSION=${{ env.VERSION_TAG }}
          tags: |
            darkbitio/aws_recon:${{ env.VERSION_TAG }}
            darkbitio/aws_recon:latest

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
aws_recon-0.3.1 .github/workflows/docker-build.yml
aws_recon-0.3.0 .github/workflows/docker-build.yml
aws_recon-0.2.36 .github/workflows/docker-build.yml
aws_recon-0.2.35 .github/workflows/docker-build.yml
aws_recon-0.2.34 .github/workflows/docker-build.yml
aws_recon-0.2.33 .github/workflows/docker-build.yml
aws_recon-0.2.32 .github/workflows/docker-build.yml
aws_recon-0.2.31 .github/workflows/docker-build.yml
aws_recon-0.2.30 .github/workflows/docker-build.yml
aws_recon-0.2.29 .github/workflows/docker-build.yml
aws_recon-0.2.28 .github/workflows/docker-build.yml
aws_recon-0.2.27 .github/workflows/docker-build.yml
aws_recon-0.2.26 .github/workflows/docker-build.yml
aws_recon-0.2.25 .github/workflows/docker-build.yml
aws_recon-0.2.24 .github/workflows/docker-build.yml
aws_recon-0.2.23 .github/workflows/docker-build.yml
aws_recon-0.2.22 .github/workflows/docker-build.yml
aws_recon-0.2.21 .github/workflows/docker-build.yml
aws_recon-0.2.20 .github/workflows/docker-build.yml
aws_recon-0.2.19 .github/workflows/docker-build.yml