Skip to content

Bump pytz from 2023.3.post1 to 2024.2 (#59) #24

Bump pytz from 2023.3.post1 to 2024.2 (#59)

Bump pytz from 2023.3.post1 to 2024.2 (#59) #24

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build Docker image
uses: docker/build-push-action@v6
with:
load: true
push: false
tags: joschi/tg-archive:${{ github.sha }}
- name: Scan image
uses: anchore/scan-action@v5
with:
image: joschi/tg-archive:${{ github.sha }}
fail-build: false
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
with:
push: true
tags: joschi/tg-archive:${{ steps.vars.outputs.tag }}