Skip to content

Commit

Permalink
Create vaultr-ui-prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wmanka authored Jan 7, 2024
1 parent 9024b4a commit 48c32cf
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/vaultr-ui-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: VaultR UI [PROD]

on:
push:
branches: [ "main" ]

jobs:

status:
runs-on: ubuntu-latest

steps:
- name: Print message
run: echo "Building and pushing VaultR UI image to Docker Hub."

- name: Print location
run: ls -R

build-and-push:

runs-on: ubuntu-latest
environment: production

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: wmanka/vaultr-ui:latest

0 comments on commit 48c32cf

Please sign in to comment.