Skip to content

Commit

Permalink
chore: update dependencies 07.01.2022
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Jan 7, 2022
1 parent 4f1c0ce commit 456f676
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 16 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/release.docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: release-docker
on:
release:
types: published

jobs:
docker-image-alpine:
runs-on: ubuntu-20.04
steps:
-
name: Checkout repository
uses: actions/checkout@v2
-
name: Docker meta alpine
id: meta_alpine
uses: docker/metadata-action@v3
with:
images: joseluisq/paket
flavor: |
latest=true
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Prepare Docker envs
shell: bash
run: |
echo "PAKET_VERSION=${GITHUB_REF##*/v}" >> $GITHUB_ENV
echo "SERVER_DOCKERFILE=./docker/alpine/Dockerfile" >> $GITHUB_ENV
-
name: Build and push (alpine)
uses: docker/build-push-action@v2
with:
push: true
context: .
file: ${{ env.SERVER_DOCKERFILE }}
tags: ${{ steps.meta_alpine.outputs.tags }}
build-args: |
PAKET_VERSION=${{ env.PAKET_VERSION }}
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 456f676

Please sign in to comment.