Skip to content

[bazel] Fix BCR presubmit #128

[bazel] Fix BCR presubmit

[bazel] Fix BCR presubmit #128

name: push-to-dockerhub
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Dockerhub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
uses: docker/build-push-action@v4
with:
push: true
tags: |
dzbarsky/aws-in-a-box:latest
dzbarsky/aws-in-a-box:${{ github.sha }}