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.8 .github/workflows/docker-build.yml
aws_recon-0.5.7 .github/workflows/docker-build.yml
aws_recon-0.5.6 .github/workflows/docker-build.yml
aws_recon-0.5.5 .github/workflows/docker-build.yml
aws_recon-0.5.4 .github/workflows/docker-build.yml
aws_recon-0.5.3 .github/workflows/docker-build.yml
aws_recon-0.5.2 .github/workflows/docker-build.yml
aws_recon-0.5.1 .github/workflows/docker-build.yml
aws_recon-0.5.0 .github/workflows/docker-build.yml
aws_recon-0.4.6 .github/workflows/docker-build.yml
aws_recon-0.4.5 .github/workflows/docker-build.yml
aws_recon-0.4.4 .github/workflows/docker-build.yml
aws_recon-0.4.3 .github/workflows/docker-build.yml
aws_recon-0.4.2 .github/workflows/docker-build.yml
aws_recon-0.4.1 .github/workflows/docker-build.yml
aws_recon-0.4.0 .github/workflows/docker-build.yml
aws_recon-0.3.5 .github/workflows/docker-build.yml
aws_recon-0.3.4 .github/workflows/docker-build.yml
aws_recon-0.3.3 .github/workflows/docker-build.yml
aws_recon-0.3.2 .github/workflows/docker-build.yml