remove user #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Build Tag" | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP Action | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '8.3' | |
- name: Login to Docker Hub | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_KEY }} | |
- name: Login to ghcr | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.CONTAINER_TOKEN }} | |
- name: make container-image-base | |
run: make docker-container-image-base | |
- name: make container-image | |
run: make docker-container-image | |
- name: docker push refname | |
run: docker push ghcr.io/jamesread/sicroc:latest | |
- name: docker tag | |
run: docker tag localhost/sicroc/sicroc:latest ghcr.io/jamesread/sicroc:${{ github.ref_name }} | |
- name: docker push latest | |
run: docker push ghcr.io/jamesread/sicroc:${{ github.ref_name }} |