Skip to content

Commit

Permalink
Create tag.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hholst80 authored Mar 8, 2024
1 parent 7a9018b commit 02d05c0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
tags:
- v*

env:
REPOSITORY: morecontainers/stunnel
TAG: ${{ github.ref_name }}

jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
- run: docker build . -t $REPOSITORY:$TAG
- run: docker push $REPOSITORY:$TAG

0 comments on commit 02d05c0

Please sign in to comment.