Skip to content

SEC-2501 Remove reference of S3 bucket in superlinter repo #81

SEC-2501 Remove reference of S3 bucket in superlinter repo

SEC-2501 Remove reference of S3 bucket in superlinter repo #81

Workflow file for this run

---
#########################
#########################
## Deploy Docker Image ##
#########################
#########################
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#######################################
# Start the job on all push to master #
#######################################
on:
push:
branches:
- 'main'
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Deploy Docker Image - ttam
# Set the agent to run on
runs-on: ubuntu-latest
# Only run this on the 23andMe repo
if: github.repository == '23andMe/super-linter'
##################
# Load all steps #
##################
steps:
########################
# Get the current date #
########################
- name: Get current date
run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> ${GITHUB_ENV}
########################
# Setup Docker build X #
########################
- name: Setup BuildX
uses: docker/setup-buildx-action@v1
######################################
# Login to GitHub Container registry #
######################################
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
###########################################
# Build and Push containers to registries #
###########################################
- name: Build and push
uses: docker/build-push-action@v2
with:
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=${{ github.sha }}
BUILD_VERSION=${{ github.sha }}
target: final_slim
push: true
tags: |
ghcr.io/23andme/super-linter:latest