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.5.28 .github/workflows/docker-build.yml
aws_recon-0.5.27 .github/workflows/docker-build.yml
aws_recon-0.5.26 .github/workflows/docker-build.yml
aws_recon-0.5.25 .github/workflows/docker-build.yml
aws_recon-0.5.24 .github/workflows/docker-build.yml
aws_recon-0.5.23 .github/workflows/docker-build.yml
aws_recon-0.5.22 .github/workflows/docker-build.yml
aws_recon-0.5.21 .github/workflows/docker-build.yml
aws_recon-0.5.20 .github/workflows/docker-build.yml
aws_recon-0.5.19 .github/workflows/docker-build.yml
aws_recon-0.5.18 .github/workflows/docker-build.yml
aws_recon-0.5.17 .github/workflows/docker-build.yml
aws_recon-0.5.16 .github/workflows/docker-build.yml
aws_recon-0.5.15 .github/workflows/docker-build.yml
aws_recon-0.5.14 .github/workflows/docker-build.yml
aws_recon-0.5.13 .github/workflows/docker-build.yml
aws_recon-0.5.12 .github/workflows/docker-build.yml
aws_recon-0.5.11 .github/workflows/docker-build.yml
aws_recon-0.5.10 .github/workflows/docker-build.yml
aws_recon-0.5.9 .github/workflows/docker-build.yml