Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Nov 22, 2024
1 parent 31b5c34 commit 8fd5102
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,41 +81,41 @@ jobs:
path: target/release/mater-cli
retention-days: 1

mater_cli_build_docker:
runs-on: self-hosted

needs:
- mater_cli_check_version

permissions:
packages: write

steps:
- uses: actions/[email protected]

- name: Login to Github Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and publish image
run: |
docker build \
--build-arg VCS_REF="$(git rev-parse HEAD)" \
--build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
--tag ghcr.io/eigerco/mater-cli:"${{ needs.mater_cli_check_version.outputs.package-version }}" \
--file ./docker/dockerfiles/mater-cli.Dockerfile \
.
docker push ghcr.io/eigerco/mater-cli:"${{ needs.mater_cli_check_version.outputs.package-version }}"
# mater_cli_build_docker:
# runs-on: self-hosted

# needs:
# - mater_cli_check_version

# permissions:
# packages: write

# steps:
# - uses: actions/[email protected]

# - name: Login to Github Container Registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}

# - name: Build and publish image
# run: |
# docker build \
# --build-arg VCS_REF="$(git rev-parse HEAD)" \
# --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
# --tag ghcr.io/eigerco/mater-cli:"${{ needs.mater_cli_check_version.outputs.package-version }}" \
# --file ./docker/dockerfiles/mater-cli.Dockerfile \
# .
# docker push ghcr.io/eigerco/mater-cli:"${{ needs.mater_cli_check_version.outputs.package-version }}"

mater_cli_release:
needs:
- mater_cli_check_version
- mater_cli_build_linux
- mater_cli_build_macos
- mater_cli_build_docker
# - mater_cli_build_docker

runs-on: ubuntu-latest

Expand Down

0 comments on commit 8fd5102

Please sign in to comment.