Skip to content

Commit

Permalink
Merge pull request #1 from iamMihirT/addfiles
Browse files Browse the repository at this point in the history
Update in the yml files
  • Loading branch information
maany authored Nov 16, 2023
2 parents dd36176 + cf629fb commit 41ae900
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/docker-auto-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: docker-auto-build

on:
push:
tags:
- 'v*'

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Checkout
uses: actions/checkout@v4
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
mpidsg/mpi-sda-satellite
tags: |
type=semver,pattern={{version}}
-
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:
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 41ae900

Please sign in to comment.