Skip to content

change authorization to authorization token #8

change authorization to authorization token

change authorization to authorization token #8

Workflow file for this run

name: push
on:
push:
branches:
- main
jobs:
push:
name: Push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build docker image
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login registry.gitlab.com -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
docker build -t registry.gitlab.com/${{ secrets.DOCKER_USERNAME }}/postmand:latest .
docker push registry.gitlab.com/${{ secrets.DOCKER_USERNAME }}/postmand:latest